Dependencies for checks


#1

Hi

I’m checking now Sensu and it looks great. I have question about check dependencies. In Nagios there is an option to configure check dependent on other checks, so that I won’t get errors from other checks if “parent” will fall. How can I do sane in Sensu?


#2

Hey Maxim,

The sensu-plugin library that provides Sensu::Handler provides a filter for this functionality, https://github.com/sensu/sensu-plugin/blob/master/lib/sensu-handler.rb#L109 You may provide “dependencies” in your check definition(s). Note that this is limited to the scope of the individual client.

Sean.

···

On Sun, Sep 15, 2013 at 2:18 PM, Maxim Nikolaev max@maximnik.com wrote:

Hi

I’m checking now Sensu and it looks great. I have question about check dependencies. In Nagios there is an option to configure check dependent on other checks, so that I won’t get errors from other checks if “parent” will fall. How can I do sane in Sensu?


#3