[Nagiosplug-devel] [ nagiosplug-Bugs-2901240 ] check_snmp has problem parsing snmpget output

SourceForge.net noreply at sourceforge.net
Fri Nov 20 17:31:41 CET 2009


Bugs item #2901240, was opened at 2009-11-20 16:31
Message generated for change (Tracker Item Submitted) made by oernii
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2901240&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parsing problem
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ernest Beinrohr (oernii)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp has problem parsing snmpget output

Initial Comment:
Hi, I have a command like:

$ check_snmp -P 3 -U username -A password -X password -a MD5 -H
server.domain.com -o host.hrSystem.hrSystemProcesses.0 -L authPriv -v
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u username -A
password -x DES -X password server.domain.com:161
host.hrSystem.hrSystemProcesses.0
HOST-RESOURCES-MIB::hrSystemProcesses.0 98

SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 [authpriv]
server.domain.com:161 host.hrSystem.hrSystemProcesses.0


as you can see snmpget RETURNS a value of 98, but check_snmp fails to
see it somehow. 

PS: check_snmp v2021 (nagios-plugins 1.4.13)

Also I checked out the current GIT repo and build it. Another error:

/usr/bin/snmpget -t 1 -r 5 -m ALL -v 3 [authpriv] server:161 host.hrSystem.hrSystemProcesses.0
HOST-RESOURCES-MIB::hrSystemProcesses.0 100
SNMP UNKNOWN - |


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2901240&group_id=29880




More information about the Devel mailing list