[mrtg] Re: Logfile problem
Britt Tabor
Britt_Tabor at Jabil.com
Fri Aug 6 22:16:15 MEST 2004
I think you could be right but I don't know why it would stop working all of
the sudden. Like I said I'm continuing to research and every little bit I
get from the list here helps. Here is the outtake from my .cfg file for one
of the interfaces...
### Interface 21 >> Descr: 'Serial1/0.40' | Name: 'Se1/0.40' | Ip:
'192.168.10.110' | Eth: '' ###
Target[REY1-A100_21]: 21:public at REY1-A100:
SetEnv[REY1-A100_21]: MRTG_INT_IP="192.168.10.110"
MRTG_INT_DESCR="Serial1/0.40"
Directory[REY1-A100_21]: REY1-A100
MaxBytes[REY1-A100_21]: 128000
Title[REY1-A100_21]: Serial1/0.40 -- REY-REY1
PageTop[REY1-A100_21]: <H1>Serial1/0.40 -- REY-REY1</H1>
<TABLE>
<TR><TD>System:</TD> <TD>REY Router in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Serial1/0.40 PVC to ALF </TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se1/0.40</TD></TR>
<TR><TD>Max Speed:</TD> <TD>128.0 kBytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.40.110 ()</TD></TR>
</TABLE>
Britt Tabor
I.T. Infrastructure Engineer
-----Original Message-----
From: Takumi Yamane [mailto:yamtak at b-session.com]
Sent: Friday, August 06, 2004 4:10 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Logfile problem
On Fri, 6 Aug 2004 15:38:27 -0400, "Britt Tabor" wrote
in <E7E8D81BCBF21342BB9866BE8C682F846C862E at stpmsg11.corp.jabil.org>:
> I have posted a couple of Qs for tis issue but still researching
> and have not found an answer.
1) most cases are solved by showing folks a part of config file.
> but what happens is the file is just overwritten.
2) .log file will be *just* overwritten in normal case too.
> as you can see the .old file has a value for the 1091819968 time
> stamp but in the .log file this timestamp has been reset to 0 0 0 0
3) isn't this a famous MaxBytes/AbsMax problem?
> 2004-08-06 15:19:29 -- --log: Called /usr/bin/rateup /var/www/mrtg/
> routers/rey1-a100_21 1091819968 -z g 2023150802 1196177688 128000
> c #00cc00 #0000ff #006600 #ff00ff -t -b -d Z GMT+4 k 1000 i
> /var/www/mrtg/routers/rey1-a100_21-day.png 128000 128000 400 100
> 1 1 0 300 0 4 1
Your AbsMax may be 128000 since rateup called with '-z g 2023150802
1196177688 128000 ', also it implies unknaszero and gauge.
When in-value(2023150802) is greater than max-value(128000), with
unknaszero is set, it will be treated as 0.
Same rule apply to out-value calculation.
I'm not sure if I'm right :)
--
Takumi Yamane <yamtak at b-session.com>
--
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