Hi,
I am new to Sense.
When I was checking old posts, I found this script: https://github.com/sensu/sensu-plugin/blob/master/lib/sensu-handler.rb#L109
If the dependencies has several hosts and some services, is it possible to use this script? If so, how can I use it?
Thanks in advance
Nobuo
Most of the handlers available for sensu inherit that class:
https://github.com/sensu/sensu-community-plugins/blob/master/handlers/notification/mailer.rb#L34
Here are the docs on how to configure checks:
http://sensuapp.org/docs/0.17/checks
Although they do not reference dependencies...
But per the code, the dependencies is an array of check_host/check_name values.
I've added a PR to document this.
···
On Tue, Apr 21, 2015 at 2:01 PM, <nobuolayer3@gmail.com> wrote:
Hi,
I am new to Sense.
When I was checking old posts, I found this script:
https://github.com/sensu/sensu-plugin/blob/master/lib/sensu-handler.rb#L109
If the dependencies has several hosts and some services, is it possible to
use this script? If so, how can I use it?
Thanks in advance
Nobuo