[Nagiosplug-help] check_snmp - has problem parsing snmpget output ?

Ernest Beinrohr Ernest at Beinrohr.sk
Fri Nov 20 09:48:48 CET 2009


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. Am I doing something wrong?


-- 
<http://www.beinrohr.sk/ing.php>Ernest Beinrohr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20091120/30f6581e/attachment.html>


More information about the Help mailing list