SNMP Checking - Alert if a single value is detected

Patrick Morris patrick.morris at hp.com
Thu Apr 30 23:14:05 CEST 2009


On Thu, 30 Apr 2009, Jason Frisvold wrote:

> 	I'm currently monitoring an APC UPS via SNMP.  The return value from
> the query can mean a number of different things, but I'm only interested
> in one.  However, the check_snmp plugin seems to work the opposite way I
> need.  check_snmp will alert if a given value is not seen, rather than
> alerting if a given value *is* seen..
> 
> 	I know I can use the negate plugin to fix this, but this causes
> misleading information to be left in the "status information" field.
> 
> 	Is there a way to overcome this?

Wrapper scripts are pretty handy for stuff like this, but there's not
enough detail in the problem description to be much more specific than
that.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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