Plugin error text confusion

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Wed Jan 10 00:39:21 CET 2007


After playing around with Nagios 2.6 and the latest plugins (1.4.5) I 
found a little inaccuracy in the text displayed in the check_ping plugin.

For the plugin, consider the command:

/usr/local/nagios/libexec/check_ping -p 3 -t 10 -4 -H 10.100.9.201 -w 
1000,20% -c 2000,50%

This works.

Take the percentage sign off the "critical" indicator so it reads "-c 
2000,50" - and you get:

check_ping: %s: Warning threshold must be integer or percentage!

... displayed in the plugin status for Nagios.

However the error is on the "critical" threshold not the warning threshold.

Got my head scratching for a tad!

-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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