[Nagiosplug-help] Can't locate Net/SNMP.pm in @INC

Boyer, Timothy A. Timothy.Boyer at opm.gov
Sun Sep 26 20:59:11 CEST 2010


For CentOS and RHEL, you can also find the perl modules as RPMs, here:

http://packages.sw.be/perl-Net-SNMP/

Try installing the RPM, and see if it works.
________________________________________
From: Leandro Roggerone [leandro_roggerone at dmcwireless.com]
Sent: Sunday, September 26, 2010 2:45 PM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] Can't locate Net/SNMP.pm in @INC

  Hello again,  could not solve the problem .... I did:

perl -MCPAN -e 'install Net::SNMP'

from de cli but, nothing changed, the response is the same:

[root at mdz-dns2 libexec]# ./check_snmp_process.pl -H 127.0.0.1 -C public
-n http -r
Can't locate Net/SNMP.pm in @INC (@INC contains:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at ./check_snmp_process.pl line 21.
BEGIN failed--compilation aborted at ./check_snmp_process.pl line 21.

How, can I check if installed correctly SNMP.pm module and its working ?

Could this problem be related to the files permissions ?

Could this problem be related to a bad path configuration ?

Other ideas ? ,

Im  using centos 5.4 x86-64 and nagios 3.2.0



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list