how to check snmp negative value i.e. less than 10% is critical.

Nicholas Magers Nicholas.Magers at lands.nsw.gov.au
Tue Dec 18 01:42:42 CET 2007


Sorry I realise now I was looking at check_snmp - instead of check_snmp
--help which has a more verbose description.

-----Original Message-----
From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] 
Sent: Tuesday, 18 December 2007 10:45 AM
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 17/12/07 05:39 PM, Nicholas Magers wrote:
> 
> 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.

Run the plugin manually with --help and you'll get the usage messsage.
i.e.:

/usr/local/nagios/libexec/check_snmp --help

Then look at the ranges you can use. You have a way to define an
inclusive range and one to define an exclusive range. It will be
something like "0:20" with will either mean OK between 0 and 20 or
non-OK between these values (I forgot, so look at the help output).

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZwoV6dZ+Kt5BchYRArhkAKDjmLELAphu1X7k3jH1Z3531AZyoQCg0ygf
avVVPvaa62eObU1HYlvUeNE=
=k7na
-----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 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