Hi,
I am installing a new instance of Nagios and it looks like the installation did not compile and create a check_snmp script. However,
# rpm -qa |grep snmp
net-snmp-libs-5.3.2.2-22.el5_10.1
net-snmp-5.3.2.2-22.el5_10.1
# cat /etc/*release
CentOS release 5.9 (Final)
Nagios and plugin versions:
-rw-r--r-- 1 root root 1798034 Jul 28 13:45 nagios-4.0.7.tar.gz
-rw-r--r-- 1 root root 2659772 Jul 28 13:46 nagios-plugins-2.0.3.tar.gz
Is there something I am missing for a pre-installation check? I was only aware of net-snmp rpm dependency.
Thank you very much.
check_snmp not present in libexec
Re: check_snmp not present in libexec
First, you're running newer plugin versions that we are, but significantly older versions of SNMP. We're running plugins 2.0.2 and:
You may want to start with upgrading SNMP libraries.
Second, when you compile the plugins, and you run the ./configure, it should tell you why it's not going to create check_snmp. Look carefully through that output (available in config.log). In our case, it skipped check_snmp because:
So I'd go look for snmpget if I wanted to have it on our boxes.
Code: Select all
# rpm -qa |grep snmp
net-snmp-libs-5.5-49.el6_5.1.x86_64
net-snmp-5.5-49.el6_5.1.x86_64
Second, when you compile the plugins, and you run the ./configure, it should tell you why it's not going to create check_snmp. Look carefully through that output (available in config.log). In our case, it skipped check_snmp because:
Code: Select all
configure:22913: WARNING: Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins
configure:22919: checking for snmpgetnext
configure:22952: result: no
Re: check_snmp not present in libexec
Hi eloyd,
Thank you for your help. It turns out I was missing net-snmp-utils.
Thank you!
Thank you for your help. It turns out I was missing net-snmp-utils.
Thank you!
Re: check_snmp not present in libexec
Glad I could help.