Hi team,
i need help with the check_snmp command, i tried make a request to a device and his answer was the following:
[root@NagiosServer:3 libexec]# ./check_snmp -P 2c -H 10.XX.XX.XX -o 1.3.6.1.4.1.8072.1.3.2.3.1.2 -c **************
CRITICAL - Plugin timed out while executing system call
I was reading the help of pluging check_snmp and it indicates that it uses snmpget, but a snmpwalk with the same community and the same ip, the following appears:
[root@NagiosServer:3 libexec]# snmpget -v 2c -c '***********' 10.XX.XX.XX 1.3.6.1.4.1.8072.1.3.2.3.1.2
NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No Such Instance currently exists at this OID
[root@NagiosServer:3 libexec]# snmpwalk -v 2c -c '**********' 10.XX.XX.XX 1.3.6.1.4.1.8072.1.3.2.3.1.2
NET-SNMP-EXTEND-MIB::nsExtendOutputFull."check-ok" = STRING: OK
why is this happening?
Snmpget and SnmpWalk
Re: Snmpget and SnmpWalk
Do the snmpget or snmpwalk commands take more than 10 seconds to return? Try increasing the timeout the check_snmp plugin uses:
./check_snmp -P 2c -H 10.XX.XX.XX -o 1.3.6.1.4.1.8072.1.3.2.3.1.2 -c ************** -t 30
./check_snmp -P 2c -H 10.XX.XX.XX -o 1.3.6.1.4.1.8072.1.3.2.3.1.2 -c ************** -t 30
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
soc-sistemas
- Posts: 3
- Joined: Wed Jun 28, 2017 11:39 am
Re: Snmpget and SnmpWalk
I tried but i have the same response:cdienger wrote:Do the snmpget or snmpwalk commands take more than 10 seconds to return? Try increasing the timeout the check_snmp plugin uses:
./check_snmp -P 2c -H 10.XX.XX.XX -o 1.3.6.1.4.1.8072.1.3.2.3.1.2 -c ************** -t 30
[root@NagiosServer:0 libexec]# ./check_snmp -P 2c -H 10.XX.XX.XX -o 1.3.6.1.4.1.8072.1.3.2.3.1.2 -c ************* -t 30
CRITICAL - Plugin timed out while executing system call
[root@NagiosServer:0 libexec]# ./check_snmp -P 2c -H 10.XX.XX.XX -o 1.3.6.1.4.1.8072.1.3.2.3.1.2 -c ************* -t 60
CRITICAL - Plugin timed out while executing system call
Re: Snmpget and SnmpWalk
How long does it take for the snmpget and snmpwalk commands to return a result?
I'd like to get a tcpdump taken while you run the snmpget command and the check_snmp command. Run:
yum -y install tcpdump
tcpdump -s 0 -i any host 10.xx.xx.xx -w output.pcap
Let this run while you run the check_snmp command, wait for it to timeout, and then run the snmpget command. Use CTRL+C to stop the trace after getting a result and PM me the output.pcap.
I'd like to get a tcpdump taken while you run the snmpget command and the check_snmp command. Run:
yum -y install tcpdump
tcpdump -s 0 -i any host 10.xx.xx.xx -w output.pcap
Let this run while you run the check_snmp command, wait for it to timeout, and then run the snmpget command. Use CTRL+C to stop the trace after getting a result and PM me the output.pcap.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.