Help with plugin...

Matt Nelson matt at frozenatom.com
Tue Dec 30 23:55:02 CET 2008


Up to now most of my checks have used a threshold for warning and critical
that is say:

critical if above 20
warning if above 10
else ok

Now I am developing a plugin that will need this for most checks, but will
also need the oposite:

ok if > 10
critical if < 10

Does anyone have some logic that I can use, preferably in perl for this kind
of thing?



Note: Numbers are for example...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081230/dfeb5ee0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list