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.
rlinux57
Posts: 324 Joined: Mon Dec 08, 2014 12:03 am
Post
by rlinux57 » Sat Nov 21, 2015 3:37 pm
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
Post
by rlinux57 » Sat Nov 21, 2015 4:11 pm
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
Post
by Pikmin » Sat Nov 21, 2015 7:01 pm
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
Post
by rlinux57 » Sun Nov 22, 2015 2:24 am
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
Post
by Pikmin » Sun Nov 22, 2015 5:28 am
First thing check connectivity with ping
Second, is the switch actually configured for snmp?
On a Cisco switch it's something like this
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
Post
by rkennedy » Mon Nov 23, 2015 10:19 am
Thanks
@Pikmin !
Let us know if that works for you or not @rlinux57.
Former Nagios Employee