check_snmp not present in libexec

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

check_snmp not present in libexec

Postby and1100 » Wed Jul 30, 2014 4:13 pm

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.
and1100
 
Posts: 93
Joined: Mon Mar 25, 2013 8:37 am

Re: check_snmp not present in libexec

Postby 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:

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


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:

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


So I'd go look for snmpget if I wanted to have it on our boxes. :)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
User avatar
eloyd
Cool Title Here
 
Posts: 2091
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY

Re: check_snmp not present in libexec

Postby 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!
and1100
 
Posts: 93
Joined: Mon Mar 25, 2013 8:37 am

Re: check_snmp not present in libexec

Postby eloyd » Thu Jul 31, 2014 9:15 am

Glad I could help.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
User avatar
eloyd
Cool Title Here
 
Posts: 2091
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY


Return to Community Support

Who is online

Users browsing this forum: No registered users and 22 guests