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

Leandro Roggerone leandro_roggerone at dmcwireless.com
Sun Sep 26 18:45:54 UTC 2010


  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






More information about the Nagiosplugin-help mailing list