Hi Sensu’s,
We currently deploy and configure our checks for Sensu using Chef. Ping checks are a common one, and we have many individual standalone ping checks that run on our master sensu server.
Specifically we use check-ping.rb: https://github.com/sensu-plugins/sensu-plugins-network-checks/blob/master/bin/check-ping.rb
Currently we write out the settings for each individual cookbook. It is still early days for our deployment but we are already up to about 10 ping checks. An issue we have run in to now is there are some options we would like to apply to every ping check we have created, however if possible it would be nice if we could do this without actually having to modify every single check. Rather, I am wondering if we can have a generic ‘default’, either in chef or elsewhere that we can modify and will be applied to all of our pings to make it easy for us to quickly update things like, for example the count (-c) value.
I know we could probably just modify check-ping.rb on our end, but if possible I prefer to avoid modifying the plugin files.
Thanks in advance for any assistance.
Kind Regards,
Todd