Problem with nagios-plugin built RPM

Brian Ipsen bipsen-sender-25cac0 at andebakken.dk
Tue Dec 6 15:37:02 CET 2005


Hi,

 I've installed the following SNMP packages:

net-snmp-libs-5.1.2-11
net-snmp-5.1.2-11
net-snmp-utils-5.1.2-11
net-snmp-devel-5.1.2-11
net-snmp-perl-5.1.2-11

And these packages containing perl in the name:

perl-5.8.5-12.1
perl-XML-Parser-2.34-5
perl-XML-SAX-0.12-7
perl-Crypt-SSLeay-0.51-5
perl-Filter-1.30-6
perl-HTML-Tagset-3.03-30
perl-libwww-perl-5.79-5
perl-libxml-perl-0.07-30
perl-XML-Encoding-1.01-26
perl-Convert-ASN1-0.18-3.WB1
perl-XML-Grove-0.46alpha-27
perl-LDAP-0.31-5.WB1
perl-XML-LibXML-Common-0.13-7
perl-URI-1.30-4
perl-HTML-Parser-3.35-6
perl-XML-Dumper-0.71-2
perl-XML-NamespaceSupport-1.08-6
perl-XML-Twig-3.13-6
perl-XML-LibXML-1.58-1
net-snmp-perl-5.1.2-11

During ./configure, I get:

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

So it still can't find Net::SNMP
 
I wonder why (no other perl+snmp packages are available for WhiteBox
Enterprise Linux 4.0).....

/Brian

________________________________

	From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
frank.bourdeau at dga.defense.gouv.fr
	Sent: 6. december 2005 13:24
	To: Brian Ipsen
	Cc: nagios-users at lists.sourceforge.net
	Subject: [Nagios-users] Réf. : [Nagios-users] Problem with
nagios-plugin built RPM
	
	

	Hi, 
	
	You must intsall the package perl-SNMP from your distro or you must
rebuild your nagios-plugins package, because you have installed net::SNMP
perl script. 
	
	Best regards 
	
	----
	Frank BOURDEAU
	tel: 0241936560 fax: 0241936681
	frank.bourdeau at dga.defense.gouv.fr 
	
	
	
		Brian Ipsen <bipsen-sender-25cac0 at andebakken.dk> 
	Envoyé par : nagios-users-admin at lists.sourceforge.net 

	06/12/2005 12:50 
	Veuillez répondre à Brian Ipsen 

		        
	        Pour :        <nagios-users at lists.sourceforge.net> 
	        cc :         
	        Objet :        [Nagios-users] Problem with nagios-plugin
built RPM



	Hi,
	
	I'm trying to build an RPM with the nagios plugins...
	
	Basically, what I do, is:
	
	# perl -MCPAN -e 'install Net::SNMP'
	# /usr/sbin/groupadd nagios
	# /usr/sbin/useradd -r -d /var/log/nagios -s /bin/sh -c "nagios" -g
nagios
	nagios
	# cd /usr/src/whitebox/SOURCES
	# wget
	
http://surfnet.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.
	2.tar.gz
	# tar xzpf nagios-plugins-1.4.2.tar.gz *.spec
	# mv -f nagios-plugins-1.4.2/nagios-plugins.spec ../SPECS/
	# rm -Rf nagios-plugins-1.4.2
	# cd ../SPECS
	# chown 0.0 nagios-plugins.spec
	# rpmbuild -ba nagios-plugins.spec
	# rpm -Uvh ../RPMS/i386/nagios-plugins-1.4.2-1.i386.rpm
	
	But this gives me:
	
	error: Failed dependencies:
	       perl(Net::SNMP) is needed by
nagios-plugins-1.4-2.1.el3.rf.i386
	
	I then check:
	
	# perl -MCPAN -e 'install Net::SNMP'
	CPAN: Storable loaded ok
	Going to read /root/.cpan/Metadata
	 Database was generated on Tue, 06 Dec 2005 01:01:00 GMT
	Net::SNMP is up to date.
	
	Why is it complaining about Net::SNMP ??
	
	I also tried:
	
	# rpm -qa | grep net-snmp
	
	net-snmp-libs-5.1.2-11
	net-snmp-devel-5.1.2-11
	net-snmp-perl-5.1.2-11
	net-snmp-utils-5.1.2-11
	net-snmp-5.1.2-11
	
	Where is the problem ??
	
	Regards
	
	/Brian
	
	
	-------------------------------------------------------
	This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
	for problems?  Stop!  Download the new AJAX search engine that makes
	searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
	http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
	_______________________________________________
	Nagios-users mailing list
	Nagios-users at lists.sourceforge.net
	https://lists.sourceforge.net/lists/listinfo/nagios-users
	::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
	::: Messages without supporting info will risk being sent to
/dev/null
	
	
	
	



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list