check_snmp - UPS

Subhendu Ghosh sghosh at sghosh.org
Mon Nov 21 15:43:32 CET 2005


"negate" is a plugin that will change the return code of a plugin.

with check_snmp - try -w 0:60 -c 0:80

you will get a warning above 60 and critical above 80

On Mon, 21 Nov 2005, Richard Gliebe wrote:

> Hi,
>
> I have to monitor our Master-UPS via 'check_snmp'.
>
> I want to get an alert, when the capacity goes under 80 % like this.
>
> [...]
> # ./check_snmp -H ups.company.com -C uclvNOC-ro -o .<OID> \
> -l "BATTERY (%)" -w 80 -c 60
> [...]
>
> But when the retournvalue is 100 (%), I've get an critital alert.
>
> ## BATTERY (%) CRITICAL - *100* service alert.##
>
> Is it possible define reverse values in check_snmp ?
>
> thanks in advance.
>
> Richard
>
>

-- 



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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