[mrtg] Re: cisco ip accounting
Daniel R. Kilbourne
drk at netophilia.net
Tue Oct 23 16:36:49 MEST 2001
Looks to me like nothing is wrong with your config, rather your perl install.
Did you read any relevant READMEs? It looks like you are missing a
necessary perl module.
Actually, the README does not tell you, but the perl script itself does:
#---snip---#
#!/usr/bin/perl
##############################################################################
#
# cisco_ip_acc_collect.pl
# (c) 1999 by Dolphins Network Systems, Matthias Cramer <cramer at dolphins.ch>
#
# Licence: LGPL
#
##############################################################################
#
# This Script is very loosly based on whodo from Tony Farr
#
# This Script gets IP-accounting data from a Cisco Router
# In the network file you can define networks which you like to analyse.
#
# Special modules : Net::Netmask, SNMP_util
#
##############################################################################
#
# Version History
# V0.9 First Public Release
#
##############################################################################
#---snip---#
So, get the 2 modules it requires...
http://www.cpan.org/modules/by-module/Net/Net-Netmask-1.9001.tar.gz
http://www.cpan.org/modules/by-module/SNMP/SNMP-Util-1.8.tar.gz
Then you should be good to go
At 03:33 PM 10/23/2001 +0200, Oliver.Kupke at rtl.de wrote:
>t parse at ./cisco.pl line 66
> at /usr/lib/perl5/site_perl/5.005/Net/Netmask.pm line 343
> Net::Netmask::imaxblock(undef, undef) called at
>/usr/lib/perl5/site_perl/5.005/Net/Netmask.pm line 337
> Net::Netmask::maxblock('Net::Netmask=HASH(0x820e188)') called at
>/usr/lib/perl5/site_perl/5.005/Net/Netmask.pm line 224
> Net::Netmask::storeNetblock('Net::Netmask=HASH(0x820e188)') called
>at ./cisco.pl line 67
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list