[mrtg] Re: Few Questions
Kruepke
lister at kruepke.com
Tue Apr 25 15:46:39 MEST 2000
Markus,
About question (1): Renaming the files will do the trick, if you change the name of the target (the name being the part in [] in the config file: Target[router.1]). What I do is name the targets using a logical name, rather than the default created by cfgmaker. So in this case, I sould have a target like this: Target[router.serial0] or Target[router.acct_lan]. This way if you move an interface, or it changes to a new OID after a reload of the router, the names stay the same. Then you wouldn't have to worry about renaming files.
About questions (2): I know this one came up recently and should be in the archives. Go to http://buckaroo.xo.com/MRTG/ for Matt Petach's MRTG helpers. One of them will zero out sections of a log file that you specify. This will resolve the problem of the straight line in the graph. If you want this behavior to be permanent, use the 'Options[_]: unknaszero' command in the config file. This will make unknown points on the graphs go to zero.
Keith
----- Original Message -----
From: <Markus.Forrer at cs.coop.ch>
To: <mrtg at list.ee.ethz.ch>
Sent: Tuesday, April 25, 2000 3:23 AM
Subject: [mrtg] Few Questions
Hy all
Just two Questions
1. After changing the port of a interface on a router, I will get the
following message.
>>I will not update this graph for the moment. Maybe your Router has
>>changed the port to interface mapping. This can happen when new
>>Interfaces are added to the router or when it is rebooted.
Now, the problem. How can I hold the old statistic?? At the moment I simple
moved the old files matching the new
filenames. It works, but I don't think, that this is the right way.
2. Just an Example....
Over the weekend mrtg was not able to get data from a router. On Monday I
fixed the problem.
Now mrtg fill up the graphs, for the time, where it was not able to get
data, with the last value.
But I want, that on that time, the graphs show nothing. How can I make
this????
Greetings
Markus Forrer
--
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
--
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
More information about the mrtg
mailing list