If you get above error, and in your script syntax like this,
use strict;
use Net::SNMP;
use Getopt::Long;
Then use the following step to install Net SNMP
Solution :-- Login as a root user on machine.
#perl -MCPAN -e shell
cpan> install Bundle::CPAN
cpan[1]> reload cpan
cpan[1]> reload index
cpan[1]> install Net::SNMP
cpan[1]> install Getopt::Long
After all this try to execute your script ..hope your problem resolved.
Tuesday, November 17, 2009
Can't locate Net/SNMP.pm in @INC (@INC contains + Nagios
Posted on 8:48 PM by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment