Feb 18

ERROR : Can’t locate Net/SNMP.pm in @INC

Recently I met with an error in server while checking traffic in and traffic out plugin for monitoring system(Nagios).

———–
Can’t locate Net/SNMP.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/nagios/libexec/check_bw_snmp_out line 16.
BEGIN failed–compilation aborted at /usr/local/nagios/libexec/check_bw_snmp_out line 16.
———–

This can be easily fixed by installing Net::SNMP

Try,

#cpan
#cpan> install Net::SNMP

Leave a Reply

Your email address will not be published.