Help: How to use check_snmp plugin to get the monitor APC PDU?

Jim Avery jim at jimavery.me.uk
Tue Jul 12 11:32:34 CEST 2011


On 9 July 2011 15:02, Lee Eric <openlinuxsource at gmail.com> wrote:
> Hi,
>
> Does anyone ever use check_snmp plugin to get the monitor APC PDU? I
> know there are some plugins can do this but I'd like to use this one
> to do more standard. I have downloaded the Powernet MIB file.


An example of how I monitor output percent load is:

check_command    check_snmp!-C <community> -o
"UPS-MIB::upsOutputPercentLoad.1" -l \'Output Load\' -u \'%\' -w 10:80
-c 5:90

This is a 3-phase UPS, so I also have checks for the other phases:

check_command    check_snmp!-C <community> -o
"UPS-MIB::upsOutputPercentLoad.2" -l \'Output Load\' -u \'%\' -w 10:80
-c 5:90
and
check_command    check_snmp!-C <community> -o
"UPS-MIB::upsOutputPercentLoad.3" -l \'Output Load\' -u \'%\' -w 10:80
-c 5:90


The command definition looks like:

define command{
        command_name    check_snmp_ups
        command_line    $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
        }



I'd be interested to see what other people do though, particularly as
some of the metrics are *10 the expected value (presumably so they can
be presented as integer rather than floating-point).  I've not been
able to work out the best way of handling those myself yet.

Cheers,

Jim

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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