[mrtg] Re: Manually adding entries to mrtg.cfg
Red Jackson
redone at siteconnect.com
Tue Dec 19 04:06:08 MET 2000
Hi!
I monitor hundreds of Cisco switches and routers with MRTG (Love it BTW!)
I've found that life is vastly simpler if you use a seperate .cfg for each
device. I have files like - Cisco7507_SEA_NOC.cfg I run all the individual
files from a shell script (or a cmd file for NT'ers). With my method
adding/changing a new interface on a single device is easy. Also removing or
replacing a switch etc. doesn't require rebuilding mrtg.cfg (which in my
case would be huge).
Best for the Holidays everybody!
Red Jackson
System Engineer
Cypress Communications Inc.
Seattle WA USA
red at cypresscom.net
red at siteconnect.com
-----Original Message-----
From: John Giordano [mailto:isaac at netos.com]
Sent: Monday, December 18, 2000 5:25 PM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Manually adding entries to mrtg.cfg
Hello List,
I can run cfgmaker against our routers everytime and it always builds us a
good mrtg.cfg file.
The problem we have been running into tho is that when a new interface is
added I can't add an entry manually and get it to work.
I don't want to have to rebuild the list each time with cfgmaker because
then I have to manually go in with a text editor and add things like how
fast each subinterface is, etc.
Here is an example of what I mean:
#---------------------------------------------------------------
Target[216.251.100.253.4]: 4:foo at 216.251.100.253
MaxBytes[216.251.100.253.4]: 193000
Options[216.251.100.253.4]: bits
Title[216.251.100.253.4]: Kilimanjaro (No hostname defined for IP address):
Serial0.16
PageTop[216.251.100.253.4]: <H1>Traffic Analysis for Serial0.16
<BR>Wayne Berry</H1>
<TABLE>
<TR><TD>System:</TD><TD>Kilimanjaro in </TD></TR>
<TR><TD>Maintainer:</TD><TD></TD></TR>
<TR><TD>Interface:</TD><TD>Serial0.16 (4)</TD></TR>
<TR><TD>IP:</TD><TD>No hostname defined for IP address
(206.129.54.25)</TD></TR>
<TR><TD>Max Speed:</TD>
<TD>193.0 kBytes/s (frame-relay)</TD></TR>
</TABLE>
#---------------------------------------------------------------
Target[216.251.100.253.5]: 5:foo at 216.251.100.253
MaxBytes[216.251.100.253.5]: 193000
Title[216.251.100.253.5]: Kilimanjaro (No hostname defined for IP address):
Serial0.29
PageTop[216.251.100.253.5]: <H1>Traffic Analysis for Serial0.29
<BR>Cornish College</H1>
<TABLE>
<TR><TD>System:</TD><TD>Kilimanjaro in </TD></TR>
<TR><TD>Maintainer:</TD><TD></TD></TR>
<TR><TD>Interface:</TD><TD>Serial0.29 (5)</TD></TR>
<TR><TD>IP:</TD><TD>No hostname defined for IP address
(206.129.54.61)</TD></TR>
<TR><TD>Max Speed:</TD>
<TD>193.0 kBytes/s (frame-relay)</TD></TR>
</TABLE>
#---------------------------------------------------------------
This is what cfgmaker makes the first time. It works great. But what if a
new frame relay subinterface is built in the router?
I can't do this:
Target[216.251.100.253.6]: 6:foo at 216.251.100.253
because it will not grab the right stuff. Do I need to use an OID and then
monitor the ip of the new subinterface that is built?
Because the IP (216.251.100.253) above of both entries is the IP of the
ethernet interface on our router. So if I just do 216.251.100.253.7 and
expect it to graph the new subinterface- it doesn't work.
Any ideas? Does this even make sense? ;-)
Thanks,
John
--
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
--
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