<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
Paul<BR>
<BR>
Thank you very much for your detailed reply. I really appreciate your time and effort. I put my queries on the list, only after I did some exhaustive (I dunno if I can say that) research. Yes, we have a Core switch 65xx running both CatOS and IOS and acting as VTP server and eight other distribution level switches (Cisco 45xx) running on CatOS. I tried including the options --ifref=name, --ifref=catname, --ifref=descr and ifdesc=descr. But the thing is, when I compile the *.cfg file and run the associated *.cgi file on the web server, it comes up with a page that says "Available Targets" and the e-mail addresses of the creators of MRTG. It does not show any graphs whatsoever. If I do not use these --ifref options for compiling the *.cfg file, I can see the graphs.<BR>
<BR>
FYI<BR>
I am using MRTG-2.15.2, RRDTOOl-1.2.23 and Apache Web Server.<BR>
<BR>
Thanks in advance for your answers.<BR>
<BR>
A<BR><BR><BR>
<BLOCKQUOTE>
<HR>
Date: Wed, 23 May 2007 14:53:21 -0500<BR>From: mrpaular@gmail.com<BR>To: anuragsb@hotmail.com<BR>Subject: Re: [mrtg] MRTG: A Few Questions<BR>CC: mrtg@lists.oetiker.ch<BR><BR>On 5/23/07, <B class=EC_gmail_sendername>Anurag Bist</B> <<A href="mailto:anuragsb@hotmail.com">anuragsb@hotmail.com</A>> wrote:<BR>
<DIV>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">
<DIV> <BR>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.</DIV></BLOCKQUOTE>
<DIV><BR>I'm going to make an assumption that you're running a Cisco Catalyst switch with somewhat current IOS. If that's the case try passing "--ifdesc=catname" at the cfgmaker command line. There is *alot* of other good stuff at <A href="http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html" target=_blank>http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html</A> <BR></DIV><BR>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">
<DIV>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.</DIV></BLOCKQUOTE>
<DIV><BR>The graph is nothing more than a PNG or GIF image file. If you would like that functionality you'll need to look at something else to do that than MRTG out of the box. <BR></DIV><BR>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">
<DIV>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: <BR> <BR>$> perl cammer.pl <snmp_community>@<A href="http://router.id/" target=_blank>router.id</A> <BR> <BR>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.<BR>BEGIN failed--compilation aborted at cammer.pl line 44<BR> <BR>$> locate SNMP_Session.pm<BR> <BR>/usr/bin/SNMP_Session.pm<BR>/usr/lib/mrtg2/SNMP_Session.pm<BR>/usr/local/src/mrtg/lib/mrtg2/SNMP_Session.pm<BR>/usr/local/mrtg-2/lib/mrtg2/SNMP_Session.pm<BR> <BR>How can I overcome this problem?</DIV></BLOCKQUOTE>
<DIV><BR>SNMP::Session isn't in perl's path. You can either update the script to include the full path or reinstall SNMP::Session.<BR></DIV><BR>Paul<BR></DIV></BLOCKQUOTE><br /><hr />Change is good. See what’s different about Windows Live Hotmail. <a href='http://www.windowslive-hotmail.com/learnmore/default.html?locale=en-us&ocid=RMT_TAGLM_HMWL_reten_changegood_0507
' target='_new'>Check it out!</a></body>
</html>