Nagios, snmp and check_snmp module
Posted: Fri Mar 10, 2017 1:13 pm
Hi, i have problem with nagios and snmp. I'm testing check_snmp in console and i'm getting error:
./check_snmp -l hmon -x "nJ123456" -X "123456789" -L sha,des -H 176.119.61.219 -O .1.3.6.1.4.1.2021.4.5.0
ERROR: retrieving OID .1.3.6.1.4.1.2021.4.5.0 table: No response from remote host "176.119.61.219".
When i do the same with snmpwalk there are no errors.
snmpwalk -a SHA -x AES -u hmon -A "nJ123456" -X "123456789" -l authPriv 176.119.61.219 .1.3.6.1.4.1.2021.4.5.0
iso.3.6.1.4.1.2021.4.5.0 = INTEGER: 502884
anybody know what is problem?
./check_snmp -l hmon -x "nJ123456" -X "123456789" -L sha,des -H 176.119.61.219 -O .1.3.6.1.4.1.2021.4.5.0
ERROR: retrieving OID .1.3.6.1.4.1.2021.4.5.0 table: No response from remote host "176.119.61.219".
When i do the same with snmpwalk there are no errors.
snmpwalk -a SHA -x AES -u hmon -A "nJ123456" -X "123456789" -l authPriv 176.119.61.219 .1.3.6.1.4.1.2021.4.5.0
iso.3.6.1.4.1.2021.4.5.0 = INTEGER: 502884
anybody know what is problem?