Raj, You are right about the changing of index numbers for your interfaces, but when using '--ifref=descr' or '--ifref=name' in your cfgmaker command line you can circumvent this.
You can change your configuration to fixed names in stead of ever changing index numbers as follows: 1. make a copy of your current *.cfg file 2. stop the mrtg polling 3. rerun your previous cfgmaker command with the '--ifref=descr' added 4. Per interface copy the *.log and *.old file and rename to the names you find in the new *.cfg file. (for instance the file router_14.log will become router_Se0.log) 5. Start MRTG again with the new cfg file. >From now you can add interfaces, restart your router and rerun cfgmaker as often as you wish, without worrying about the index numbers of interfaces. Hth, Jan. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 5:49 AM To: [EMAIL PROTECTED] Subject: [mrtg] Re: Adding a new interface The 1st idea that comes to my mind is to re-run cfgmaker, but output it to a different *.cfg (ex. keep mrtg.cfg, re-run cfgmaker to create mrtg2.cfg). Copy the info for the added interface and cut/paste it into your original *.cfg. Restart MRTG and it should just "add" the new interface. I've been up for awhile, but that's the first thing to pop into my head. Good Luck! Jeremy Fluhmann -------- Original Message -------- Subject: [mrtg] Adding a new interface From: "AS, Raj Kumar" <[EMAIL PROTECTED]> Date: Thu, March 27, 2003 8:58 pm To: [EMAIL PROTECTED] > Hi Group, > I am monitoring the router using mrtg. If I have to add a new > interface to a router do I have to rerun the configmaker?(I believe we > have to, because those interfaces are remarked as administratively > down) By doing so all my existing interface id's are going to change > and so all my previous capture will be gone. Anybody faced this issue > before. Have any good workaround for this. > > Thanks in advance for all the inputs. > > Best Regards, > Raj. -- Unsubscribe mailto:[EMAIL PROTECTED] 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 het 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:[EMAIL PROTECTED] 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
