[mrtg] Re: Handling device configuration changes/MRTG
Koelstra, J. (Jan)
JKoelstra at MINSZW.NL
Mon Jan 3 12:07:32 MET 2005
Mohit,
Depending on your hardware you can avoid most of the problems you describe by adding "--ifref=name" or "--ifref=descr" at the cfgmaker commandline.
Other additions at the cfgmaker commandline that could be used: "--no-down" and "--show-op-down"
See for more details: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/cfgmaker.html
Hth,
Jan.
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Tendolkar Mohit
Sent: Friday, December 31, 2004 8:38 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Handling device configuration changes/MRTG
Hi,
Typically folks setup MRTG to monitor network interfaces and let the scripts chug for a long time.
However, occasionally facility configuration changes do occur. Some such examples are:
A) taking a device offline for servicing
B) adding/removing modules (hot-swap)
C) re-connecting a network cable
How do you guys typically handle such cases wrt MRTG? Of course, I know the easiest way is to simply re-create the CONFIGs and re-start MRTG, but there must be some other elegant way to do this without having to disturb the current monitoring setup, so I thought I'd ask you guys.
Typically on a configuration change like a device restart, or adding/removing modules, I observe that the SNMP agent has a tendency to change its table indices (that means physical port A that was last polled as port.1 may now appear as port.10, or something else other than port.1). With such changes, either the monitoring starts giving noSuchName SNMP errors (since the polled SNMP object instance does not exist anymore), or shows incorrect information for a totally different port (which is difficult to track!).
Do let me know...
Thanks
Mohit
--
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
_________________________________________________________
Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
_________________________________________________________
--
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