[mrtg] MRTG: A Few Questions

Anurag Bist anuragsb at hotmail.com
Wed May 23 18:03:15 CEST 2007


Hi friends
 
I have installed MRTG on a Red Hat Linux box at my facility and have been monitoring the network devices (L3 and L2 level switches) running on MSFCs and CatOS. I would like to implement the following:
 
1. I would like the cfg file, which is generated through the cfgmaker utility to give information on switch ports. Like it should tell whether a port on a particular switch is Gig1/1, Fa2/3 or Fa5/4 etc.
 
2.  I would like to have the feature that enables me to move my cursor over the traffic graph and shows a vertical bar that tells you how much data traveled through a device at a particular time.
 
3. I downloaded a perl script called 'Cammer.pl' that scans the ports of switch or a router and gives you the information about the port mac address and the machine which is connected to that particular port. I tried running it, but I am always landing up with this error:
 
$> perl cammer.pl <snmp_community>@router.id 
 
Can't locate SNMP_Session.pm in @INC (@INC contains: //../lib/mrtg2 / /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at cammer.pl line 44.BEGIN failed--compilation aborted at cammer.pl line 44
 
$> locate SNMP_Session.pm
 
/usr/bin/SNMP_Session.pm/usr/lib/mrtg2/SNMP_Session.pm/usr/local/src/mrtg/lib/mrtg2/SNMP_Session.pm/usr/local/mrtg-2/lib/mrtg2/SNMP_Session.pm
 
How can I overcome this problem?
 
Any help would be greatly appreciated!!
 
Thanks
A
_________________________________________________________________
Create the ultimate e-mail address book. Import your contacts to Windows Live Hotmail.
www.windowslive-hotmail.com/learnmore/managemail2.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_impcont_0507
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070523/ffd94ff6/attachment.html 


More information about the mrtg mailing list