[mrtg] cpu.pl

Ivan Palacios ipalacios at ibw.com
Mon May 16 22:43:43 CEST 2011


New errors

It is not ACL already the remove the router, has allowed the ip of the mrtg

/usr/local/bin/cpu.pl -M -H ufinet-rivas -C 23$!2K8$

SNMP error: The argument "-23$!2K8$" is unknown

-----Mensaje original-----
De: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Enviado el: Domingo, 15 de Mayo de 2011 01:02 p.m.
Para: Ivan Palacios; mrtg at lists.oetiker.ch
Asunto: RE: cpu.pl

>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 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