[Nagiosplug-devel] Question about a documentation ambiguity (Thresholds)

Massimiliano Ziccardi massimiliano.ziccardi at gmail.com
Mon Mar 15 17:10:12 CET 2010


Hi all.

What is the right way to handle thresholds when developing Nagios plugins?

The documentation (
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT)
says:

8x------
10:20 Generate an alert if x < 10 or > 20, (outside the range of {10 .. 20})
8x------

while few rows below says:

8x------
check_stuff -c10:20 Critical if "stuff" is 10 to 20
8x------

What is the right behaviour? (In my opinion, the second one is much clearer,
however check_snmp works like described in the first case...)

Regards,
Massimiliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20100315/f45fe43d/attachment.html>


More information about the Devel mailing list