[Nagiosplug-help] Need help with check_snmp PERL dependency Net::SNMP

Justin Amburn justin.amburn at marketlive.com
Fri Feb 29 01:09:57 CET 2008


Thanks in advance everyone for your assistance with this problem:

 

I'm preparing a nagios / nagios plugins binary install package for a
controlled production Redhat environment. What I mean by that is, since
we don't want to compile code on production servers, and since an RPM
doesn't exist for nagios_plugins I need to make a script that takes all
the binaries and puts them in the same folder for our Redhat
environment, which is universally RH4. To get check_snmp to compile, I
need to install Net::SNMP and net-snmp-utils. I have found matching RPMs
from the Redhat website and have installed the packages successfully.
Yet, when I ./configure the nagios-plugins-1.4.11 I still get this
error:

 

 

checking for snmpget... /usr/bin/snmpget

checking for snmpgetnext... /usr/bin/snmpgetnext

configure: WARNING: Tried /usr/bin/perl - install Net::SNMP perl module
if you want to use the perl snmp plugins

 

 

But, according to RPM, the dependency is successfully installed:

 

sysadmin at webapp21 nagios-plugins-1.4.11]$ rpm -qa | grep snmp

net-snmp-perl-5.1.2-11.EL4.10.0.1

net-snmp-5.1.2-11.EL4.10.0.1

net-snmp-libs-5.1.2-11.EL4.10.0.1

net-snmp-utils-5.1.2-11.EL4.10.0.1

 

What should I do next to make the ./configure script recognize that
Net::SNMP is in fact installed?

 

Regards,

 

Justin Amburn

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080228/7e1f4142/attachment.html>


More information about the Help mailing list