On Mon, 2009-11-16 at 18:15 -0500, Thomas Guyot-Sionnest wrote:
> The problem is that check_snmp parses the output from snmpget and it
> appears that when you load the MIB it detects the result as a string (if
> you post the full debug output (-vvv switch) I will be able to confirm).

Just because you asked. I'm not all that worried about it. The MIB is
obviously reporting an INTEGER value, but getting the units back is
confusing the issue.


temporary ~ # /usr/lib/nagios/plugins/check_snmp -vvv -H 10.1.25.11 -m
EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1
/usr/bin/snmpget -t 1 -r 5 -m EATON-PWR-MTR-MIB -v 1 -c public
10.1.25.11:161  .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1
EATON-PWR-MTR-MIB::pwrMtrDemandKiloWatts.1 = INTEGER: 26 kilo-watts

SNMP OK - 26 kilo-watts |


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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

Reply via email to