[mrtg] mrtg 2.9.27 on FreeBSD 4.6.2 generating faulty log data
Jim Breton
jamesb-lists at alongtheway.com
Sat Mar 15 19:04:06 MET 2003
Hey all,
I've having a problem with the data mrtg is putting into its log.
Here's the mrtg.cfg I'm using:
WorkDir: /home/virtual/mrtg
Target[r1]: `printf "5\n10\n"`
MaxBytes[r1]: 1250000
Title[r1]: Test
PageTop[r1]: <H1>Test Page<H1>
Options[r1]: growright, gauge
Note that all the "Target" line gets for data is the following:
5
10
I am starting off with this to make sure the graphing, etc. works as I
expect. I used that config on my RH Linux box with no issues, it wrote
the correct data into the log file, the graphs came out fine, etc..
However, on the FreeBSD box, my first two lines of data look like this
after the first time I run mrtg:
1047715002 5 10
1047715002 0 0 0 0
which I think is normal.
After the second time I run it, however, this happens:
1047715002 5 10
1047715002 5 10 5 10
1047714999 4294967296 -4629709230209761280 2885556898596126720 0
1047714900 4294967296 -4629709230209761280 2885556898596126720 0
1047714600 4294967296 -4629709230209761280 2885556898596126720 0
and that last line just continues all thru the rest of the file, over and
over (with the correct leading timestamps of course).
Naturally, the graphs come out all messed up too.
(Note also that I have tried this with the 4 lines of input the
documentation suggests, it didn't make any difference regarding the
numbers that were saved in the log.)
Any ideas on what is going on with that? Anyone else seen this? I
searched the ML archives as well as the newsgroup and didn't see anybody
else reporting this issue.
Thanks.
--
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