Nagiose SNMP probleemi lahendus

check_snmp not present in libexec


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

# 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.


Re: check_snmp not present in libexec

by eloyd » Thu Jul 31, 2014 8:32 am

First, you’re running newer plugin versions that we are, but significantly older versions of SNMP. We’re running plugins 2.0.2 and:


# rpm -qa |grep snmp

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:


configure:22913: WARNING: Get snmpget from to make check_hpjd and check_snmp plugins
configure:22919: checking for snmpgetnext
configure:22952: result: no


by and1100 » Thu Jul 31, 2014 8:55 am

Hi eloyd,

Thank you for your help. It turns out I was missing net-snmp-utils. 

Thank you!