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...
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to