[mrtg] FW: Cisco 6500 series routers -

Chirhart, Brian bchirhart at fnni.com
Fri Sep 14 15:41:24 MEST 2001


Jeromme - 
	It worked great!!!  Hope you don't mind that I shared it with the
group.  I just used it instead of CFGMaker including all my old commands for
my default scripts and it created the web pages with no problem.  Again -
thanks.

-----Original Message-----
From: Jeromme_Lawler at xtoenergy.com [mailto:Jeromme_Lawler at xtoenergy.com]
Sent: Thursday, September 13, 2001 17:20 PM
To: Chirhart, Brian
Subject: Re: [mrtg] Cisco 6500 series routers -




I'm not a perl programmer.  It's ugly, but it seems to work.

My goal was to use the Catalyst portname as the interface description & do
an
internal lookup on the instance number so that I can move a device I had
been
monitoring to another port & seamlessly maintain the monitoring history for
that
device - based on the Catalyst portname remaining the same.  This script
doesn't
work with sl0 or sc0 - those must be manually entered in to the config file.

I call the script to make the config file with the following command:

perl cfg --global "WorkDir: c:\wwwroot\MRTG" --ifdesc=name --ifref=descr
--no-down --show-op-down --community=public --subdirs=HOSTNAME
--output=6509.cfg
6509

Let me know if you use the script.  Don't let me know if you think my perl
stinks.  I already know that.

Cheers

(See attached file: cfg)

(See attached file: cfg)








"Chirhart, Brian" <bchirhart at fnni.com> on 09/13/2001 04:51:36 PM
                                                              
                                                              
                                                              
  To:          mrtg at list.ee.ethz.ch                           
                                                              
  cc:          (bcc: Jeromme Lawler/FTW/CTOC)                 
                                                              
                                                              
                                                              
  Subject      [mrtg] Cisco 6500 series routers -             
  :                                                           
                                                              








Anyone have any cool configs for the 6500 series they would be willing to
share?  CFGMaker will not grab the ports - only the interfaces and I am too
lazy to code it by hand..... :)  How's that for being honest?


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





-- Attached file removed by Listar and put at URL below --
-- Type: application/octet-stream
-- Size: 40k (41010 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/03-cfg


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