Nagios check fails - snmpwalk is success.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
krishnar
Posts: 13
Joined: Sun Nov 06, 2016 4:08 pm

Nagios check fails - snmpwalk is success.

Post by krishnar »

Hello,

I am facing an issue with setting up a Nagios check. snmpwalk is success to a device, but Nagios check fails.

Code: Select all

[user@server libexec]# snmpwalk -v2c -c xxxxxxxxxx 10.10.x.x ipRouteDest.0.0.0.0
RFC1213-MIB::ipRouteDest.0.0.0.0 = IpAddress: 0.0.0.0


[user@server libexec]# ./check_snmp -H 10.10.x.x  -C xxxxxxxxxx -o ipRouteDest.0.0.0.0  -v
/usr/bin/snmpget -Le -t 10 -r 5 -m ALL -v 1 [context] [authpriv] 10.10.x.x:161 ipRouteDest.0.0.0.0
CRITICAL - Plugin timed out while executing system call
[user@server libexec]#
I am not sure what am I missing here. Any help would be appreciated!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios check fails - snmpwalk is success.

Post by cdienger »

Try specifying the version 2c protocol:

/usr/local/nagios/libexec/check_snmp -H 10.10.x.x -C xxxxxxxxxx -o ipRouteDest.0.0.0.0 -v -P 2c
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked