[mrtg] cpu.pl

Steve Shipway s.shipway at auckland.ac.nz
Sun May 15 21:02:04 CEST 2011


>i have problem with the configuration of the cpu.pl to monitor temperature and cpu utilization. Greetings
>
>/usr/local/bin/cpu.pl -M -H ufinet-rivas -C 23$!2K8$
>Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at /usr/local/bin/cpu.pl line 10.

So, have you tried installing the Net::SNMP perl library?  The error message is telling you that it cannot find Net::SNMP.  If you haven't installed it, then you should do so, either via CPAN ( 'perl -MCPAN -e shell'  followed by 'install Net:SNMP') or via your package manager (should be available at sunfreeware.com ? )


Steve


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487




More information about the mrtg mailing list