Thanks for the advice. I am still unclear on this issue. Currently I use a check to notify when disk space is filling with -w set at 80% and -c set at 90%. I am unable to figure out how to check for the reverse of this so that -w 20% and -c 10% for remaining power of a UPS for example.
-----Original Message----- From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] Sent: Monday, 17 December 2007 5:05 PM To: Nicholas Magers Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] how to check snmp negative value i.e. less than 10% is critical. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/12/07 11:32 PM, Nicholas Magers wrote: > I want to check UPS battery level available percentage and report on > when 20% and 10% is remaining. The check outlined below shows the > percentage. What I want to do is the reverse of the ?w ?c and critical > values so that ?w is 20 % remaining and ?c is 10% remaining. Use the -w and -c switches to specify ranges for OK states or ranges for non-OK states. run check_snmp with --help on the console to get the details for check_snmp ranges. NB: This is not the official range format used by most other plugins. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZhGl6dZ+Kt5BchYRAjusAJ9VSTNQ3sGu2Wt43mq39x9NB4cQggCgrt9I 0p818s1bR+B2mbsXVfolvPo= =QxhN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list [email protected] 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
