[mrtg] Logfile problem

Britt Tabor Britt_Tabor at Jabil.com
Fri Aug 6 21:38:27 MEST 2004


I have posted a couple of Qs for tis issue but still researching and have
not found an answer. I have been looking at the log files and this is what
Im seeing. If log file are updating (I see this with the mrtg -logging
option I see the rateup command execute) but what happens is the file is
just overwritten. Below is a head of the .log and .old file

[tabor at jgsmon01 routers]$ head rey1-a100_21.old 
--> 1091819968 2023150802 1196177688
1091819968 0 0 0 0
1091819667 0 0 0 0
1091819400 0 0 0 0
1091819100 0 0 0 0
1091818800 0 0 0 0
1091818500 0 0 0 0
1091818200 0 0 0 0
1091817900 0 0 0 0
1091817600 0 0 0 0
[tabor at jgsmon01 routers]$ head rey1-a100_21.log 
1091820266 2069929014 1201335036
1091820266 0 0 0 0
--> 1091819968 0 0 0 0
1091819700 0 0 0 0
1091819400 0 0 0 0
1091819100 0 0 0 0
1091818800 0 0 0 0
1091818500 0 0 0 0
1091818200 0 0 0 0
1091817900 0 0 0 0

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 and Im pulling my
hair out. I see no errors it just doesn't want to work.

this is the section from the mrtg --logging log file for the entry above

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

I have no idea what all of it means and cant find anything online. So I
don't know if one of the params is telling it to overwrite or not. Can
ANYONE throw me a bone here, PLEASE...

Britt Tabor
I.T. Infrastructure Engineer




--
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