-----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 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