shanepresley
asked on
Net::SNMP Perl module?
Hello,
I am fairly new to Net-Snmp. I use it on some Solaris servers to give me CPU, Memory, and Disk stats (for MRTG to use). It also came pre-installed on my RedHat 3 server. I use that server to run MRTG and BigBrother (network monitoring).
Anyway, one piece of BigBrother is a module that uses Perl to do some SNMP work. The docs say:
"bb-xsnmp.pl requires the Net::SNMP Perl module include with the NetSNMP package formerly known as UCD-SNMP."
I am running...
snmpd -v
NET-SNMP version: 5.0.9
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sour ceforge.ne t
I know that's a slightly old version, but it came with RedHat, and is working so far, so I'd rather not upgrade unless needed.
Anyway when I try to run the perl module...
./bb-xsnmp.pl
Can't locate Net/SNMP.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386- linux-thre ad-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5 .8.0/i386- linux-thre ad-multi
/usr/lib/perl5/site_perl/5 .8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl /5.8.0/i38 6-linux-th read-multi
/usr/lib/perl5/vendor_perl /5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386- linux-thre ad-multi /usr/lib/perl5/5.8.0 .)
at ./bb-xsnmp.pl line 9.
BEGIN failed--compilation aborted at ./bb-xsnmp.pl line 9.
So it looks like it's having some trouble finding the perl SNMP module? Was my version of Net-SNMP possibly not compiled with that option? Or is it just something I have to add on?
Thanks,
I am fairly new to Net-Snmp. I use it on some Solaris servers to give me CPU, Memory, and Disk stats (for MRTG to use). It also came pre-installed on my RedHat 3 server. I use that server to run MRTG and BigBrother (network monitoring).
Anyway, one piece of BigBrother is a module that uses Perl to do some SNMP work. The docs say:
"bb-xsnmp.pl requires the Net::SNMP Perl module include with the NetSNMP package formerly known as UCD-SNMP."
I am running...
snmpd -v
NET-SNMP version: 5.0.9
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sour
I know that's a slightly old version, but it came with RedHat, and is working so far, so I'd rather not upgrade unless needed.
Anyway when I try to run the perl module...
./bb-xsnmp.pl
Can't locate Net/SNMP.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-
/usr/lib/perl5/site_perl/5
/usr/lib/perl5/site_perl/5
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-
at ./bb-xsnmp.pl line 9.
BEGIN failed--compilation aborted at ./bb-xsnmp.pl line 9.
So it looks like it's having some trouble finding the perl SNMP module? Was my version of Net-SNMP possibly not compiled with that option? Or is it just something I have to add on?
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER