[mrtg] Re: Wrong numbers showing on graph.

Keith Woodworth kwoody at citytel.net
Mon Jun 2 22:12:30 MEST 2003


That might be as thats sort of what the log does look like:

1054584725 287 0
1054584725 287 0 287 0
1054584426 281 0 281 0
1054584300 286 0 293 0
1054584000 303 0 319 0
1054583700 324 0 333 0

How to get MRTG to not do that now is the question. I'm only wanting to
graph one value though.

Thanks,
Keith

|->
|->I think you are seeing MRTG combine two consecutive measurements, since your script probably does not return values precisely on a 300 second interval. Look at the top of the .log file, and you'll see that the value graphed (2nd or 3rd column) is not the same as the maximum (4th or 5th column) for any full 300 second interval.
|->
|->1054580104 1309679430540 1154047025075
|->1054580104 3559844 1334174 3559844 1334174
|->1054579807 3924060 1488237 3924060 1488237
|->1054579800 3924138 1488743 3929941 1526246      full 300 seconds
|->1054579500 3914832 1522543 3929941 1526246              "
|->1054579200 3610368 1446108 3920516 1446899              "
|->
|->At 01:05 PM 6/2/03, Keith Woodworth wrote:
|->
|->>The first number always changes of course but the other three remain 0.
|->>The problem lies in that MRTG is fed the data but when the graphs are
|->>produced the number that shows Current: under the graph is NOT the number
|->>that is in the /root/sockets file, which is what I'd expect.
|->>
|->>So instead of 450 being displayed as Current Sockets the graph displays a
|->>seemingly random number but it will be, for example, 422. Next time the
|->>/root/sockets will have 523 and the graph will display 501. Ive deleted
|->>all the html/png files so MRTG has to recreate them again but the problem
|->>persists.
|->>

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