ERROR : Can’t locate Net/ 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/ 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


#cpan> install Net::SNMP

Leave a Reply

Your email address will not be published. Required fields are marked *