[Nagiosplug-devel] Boolean Plugins

Dylan Martin dmartin at sccd.ctc.edu
Fri Jun 13 17:43:58 CEST 2008


Hi

I'm wondering if there is a way to have the status of a host or
service depend on multiple checks?  For example, I have two ways of
checking if a server is up and they're both prone to false-negatives
(negative == down in this case).  I'd like to have the host status be
UP if either of these tests returns OK.

I was thinking of how to do that, and I realised what I want is really
a form of logical OR, and there are definitely applications for a
logical AND, and finally there's already a NOT (negate).  So, I'm
thinking of making check_and and check_or.

I've found check_multi, but I'm in nagios 2.

Has someone already done this?  Is there a mechanism that does this
already?  Does this sound like a good idea?



Thanks!
-Dylan




More information about the Devel mailing list