Check_SNMP

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Check_SNMP

Post by rlinux57 »

Let me know how to install check_snmp on nagios server.
Getting below error:

Code: Select all

(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory 
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Check_SNMP

Post by rlinux57 »

I have fixed above error, but now got below error:

Code: Select all

External command error: Timeout: No Response from IP-ADDRESS:161. 
Pikmin
Posts: 82
Joined: Tue Feb 17, 2015 5:32 pm

Re: Check_SNMP

Post by Pikmin »

Can you walk the device? Install snmpwalk and try this command

Code: Select all

snmpwalk -v 2c -c public ipaddress
Make sure you are using the right community name as that will give you Timeout no response error if not correct.
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Check_SNMP

Post by rlinux57 »

Getting below error. using switch ip address.
snmpwalk -v 2c -c public ipaddress
Timeout: No Response from ipaddress
Pikmin
Posts: 82
Joined: Tue Feb 17, 2015 5:32 pm

Re: Check_SNMP

Post by Pikmin »

First thing check connectivity with ping
Second, is the switch actually configured for snmp?
On a Cisco switch it's something like this

Code: Select all

snmp-server community public ro
Also make sure the snmp agent is enabled. Read the documentation for the switch
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check_SNMP

Post by rkennedy »

Thanks @Pikmin!

Let us know if that works for you or not @rlinux57.
Former Nagios Employee
Locked