Page 1 of 2
Check_snmp
Posted: Wed Aug 12, 2015 1:42 am
by PolleroM
Hello. I'm New on Nagios Core. I've installed it on Centos 5 and now I'm blocked on SNMP check. I'm trying to check port status on an HP switch and this is the result:
No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory.
I've tried many workaround but non success at the moment....Thanks for collaboration
Re: Check_snmp
Posted: Wed Aug 12, 2015 9:36 am
by tmcdonald
Please run the following commands as root from the Nagios server command line and post the results:
Code: Select all
ls -l /usr/local/nagios/libexec/check_snmp
find / -name check_snmp
Re: Check_snmp
Posted: Mon Aug 17, 2015 2:01 am
by PolleroM
Hello. This is the result of Commands:
[root@localhost ~]# ls -l /usr/local/nagios/libexec/check_snmp
ls: /usr/local/nagios/libexec/check_snmp: No such file or directory
[root@localhost ~]# find / -name check_snmp
Thanks
Re: Check_snmp
Posted: Mon Aug 17, 2015 9:33 am
by hsmith
PolleroM wrote:Hello. This is the result of Commands:
[root@localhost ~]# ls -l /usr/local/nagios/libexec/check_snmp
ls: /usr/local/nagios/libexec/check_snmp: No such file or directory
[root@localhost ~]# find / -name check_snmp
Thanks
I am going to assume you never installed the nagios plugins package.
Here are a couple of links that may help you.
The first is from one of our employees, but is not for the version of CentOS you are running:
http://sites.box293.com/nagios/guides/i ... centos-6-5
The second is from a link I found on the exchange section of our website, and is for CentOS 5
http://askaralikhan.blogspot.com/2010/0 ... pe-on.html
Please look at these and let us know if there is anything else we can do to assist.
Thank you.
Re: Check_snmp
Posted: Thu Aug 27, 2015 5:47 am
by PolleroM
Hello.
I've tried using this link
http://sites.box293.com/nagios/guides/i ... centos-6-5[/u]
At the end it says:
Type ./configure and press Enter
If I do this I receive this message:
bash: ./configure: No such file or directory
Re: Check_snmp
Posted: Thu Aug 27, 2015 8:03 am
by PolleroM
Hello.
I've tried following instructions on
http://askaralikhan.blogspot.com/2010/0 ... pe-on.html link.
When i try to use check_snmp this is the result.
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory
Re: Check_snmp
Posted: Thu Aug 27, 2015 9:26 am
by hsmith
PolleroM wrote:Hello.
I've tried using this link
http://sites.box293.com/nagios/guides/i ... centos-6-5[/u]
At the end it says:
Type ./configure and press Enter
If I do this I receive this message:
bash: ./configure: No such file or directory
Are the permissions on the configure script right? Are you in the right directory?
Re: Check_snmp
Posted: Fri Aug 28, 2015 1:23 am
by PolleroM
I do these operations

Type tar xzf net-snmp.tar.gz and press Enter

Type cd net-snmp* and press Enter

Type ./configure and press Enter
I obtain this output after last step:
bash: ./configure: No such file or directory
Re: Check_snmp
Posted: Fri Aug 28, 2015 9:10 am
by hsmith
PolleroM wrote:I do these operations

Type tar xzf net-snmp.tar.gz and press Enter

Type cd net-snmp* and press Enter

Type ./configure and press Enter
I obtain this output after last step:
bash: ./configure: No such file or directory
Can you please provide the output of an
ls -l command in the net-snmp directory inside of code brackets?
Re: Check_snmp
Posted: Fri Aug 28, 2015 10:05 am
by PolleroM
Result on attached