Try to install the package using these instructions. The other one I had you do is for the plugins, this one will be fore snmp.PolleroM wrote:Result on attached
Check_snmp
Re: Check_snmp
Former Nagios Employee.
me.
me.
Re: Check_snmp
The files from the link that I sent you should have the net-snmp-5.4.5.pre1 folder after you extract the tarball.PolleroM wrote:Hello.
Problem is the same.
See attached file
Inside of that folder:
Code: Select all
[root@ net-snmp-5.4.5.pre1]# ls -l | grep config
-rw-rw-r-- 1 1274 1274 31897 Jul 7 01:38 acconfig.h
-rwxrwxr-x 1 1274 1274 44892 Jul 7 01:38 config.guess
-rwxrwxr-x 1 1274 1274 33387 Jul 7 01:38 config.sub
-rwxrwxr-x 1 1274 1274 1542858 Jul 7 01:39 configure
-rw-rw-r-- 1 1274 1274 152041 Jul 7 01:38 configure.in
-rw-rw-r-- 1 1274 1274 20905 Jul 7 01:38 net-snmp-config.in
[root@ net-snmp-5.4.5.pre1]#
Thanks.
Former Nagios Employee.
me.
me.
Re: Check_snmp
Hello.
Now NET-SNMP should be installed and configured (see IMG1.output).
But from Nagios check_snmp command return Always same error:
No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory
Now NET-SNMP should be installed and configured (see IMG1.output).
But from Nagios check_snmp command return Always same error:
No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_snmp, ...) failed. errno is 2: No such file or directory
Re: Check_snmp
Alsi if I run manul command from /usr/lib/nagios/plugins/ directory result is no good.
thanks
thanks
Re: Check_snmp
Try re-running the configure and compile steps, except this time run ./configure as the following:
--with-snmpget-command=$(which snmpget)
--with-snmpget-command=$(which snmpget)
Former Nagios employee
Re: Check_snmp
Hello.
I've tried ./configure with option --with-snmpget-command=$(which snmpget) but it doesn't work.
I solved doing a manual copy of SNMPGET from /usr/local/bin/ directory to /usr/bin directory.
This because the command:
/usr/lib/nagios/plugins/check_snmp -H 10.236.4.186 -C public -o sysUpTime.0 -v
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 10.236.4.186:161 sysUpTime.0
External command error with no output (return code: 3)
indicates that SNMPGET should be located on /usr/bin/ directory
It seems to work now.
Can be a good solutions?
I've tried ./configure with option --with-snmpget-command=$(which snmpget) but it doesn't work.
I solved doing a manual copy of SNMPGET from /usr/local/bin/ directory to /usr/bin directory.
This because the command:
/usr/lib/nagios/plugins/check_snmp -H 10.236.4.186 -C public -o sysUpTime.0 -v
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 10.236.4.186:161 sysUpTime.0
External command error with no output (return code: 3)
indicates that SNMPGET should be located on /usr/bin/ directory
It seems to work now.
Can be a good solutions?
Re: Check_snmp
Hello.
I replicated all steps on our production Nagios server.
I followed all steps of this documents:
http://sites.box293.com/nagios/guides/i ... centos-6-5
http://sites.box293.com/nagios/guides/i ... centos-6-5
This time everything goes well without any extra operation!
Thanks a lot to all team for support!
I replicated all steps on our production Nagios server.
I followed all steps of this documents:
http://sites.box293.com/nagios/guides/i ... centos-6-5
http://sites.box293.com/nagios/guides/i ... centos-6-5
This time everything goes well without any extra operation!
Thanks a lot to all team for support!
Re: Check_snmp
Glad to hear that this one is working for you now!PolleroM wrote:Hello.
I replicated all steps on our production Nagios server.
I followed all steps of this documents:
http://sites.box293.com/nagios/guides/i ... centos-6-5
http://sites.box293.com/nagios/guides/i ... centos-6-5
This time everything goes well without any extra operation!
Thanks a lot to all team for support!
Are we all right to close this topic out?
Former Nagios Employee.
me.
me.
Re: Check_snmp
Hello.
Yes You Can close.
Can You also indicate me the best method to monitor errors countesr for a SINGLE port on network switch and return an alarm when counter value increase?
Thanks for support
Yes You Can close.
Can You also indicate me the best method to monitor errors countesr for a SINGLE port on network switch and return an alarm when counter value increase?
Thanks for support