[mrtg] Re: rateup writing *.log file incorrectly - post 2

Paul C. Williamson pwilliamson at mandtbank.com
Fri Feb 1 20:08:55 MET 2002


If the first entry is getting replaced, what is the second entry?
It sounds like the correct operation.  What you should do is make a 
note of what your first line of the .log file is, then after MRTG runs 
compare that to the first line of your .old file.

The difference between the first entry in .old and the first entry in 
.log are compared, normalized, and that number is placed in the 
second line of the .log.  The current number is then put at the top of 
the .log file.  Oh, and during this whole thing, the .log file overwrites the .old file.  

I know there are a lot of things that happen that I have not specifically mentioned, but these are the basics...

Paul

>>> Trevor Pirman <tpirman at mirapoint.com> 02/01/02 12:31PM >>>

I looked at the FAQ, and it made sense, but it describes a problem a little
different than mine.

My images are in fact getting updated, my browser is refreshing, mrtg is
running, there are no errors reported, and I get get different values each
time I query the server for a particular oid.

The _only_ problem I have is that the first entry in my *.log file is being
overwritten by the new value taken from the server every time .  In other
words, it is not incrementing to the next time slot and putting the new
value there so that the point can get written to the graph.

Maybe it is my configuration, but I have other sections of the config file
that are working properly.

Any help is appreciated.

-Trevor

Alex van den Bogaerdt wrote:

> Trevor Pirman wrote:
>
> > I am at a loss with this problem.  Here is the situation:
>
> This is a faq.
>
> http://faq.mrtg.org/ 
>
> --
>    __________________________________________________________________
>  / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
> | work                                                         private |
> | My employer is capable of speaking therefore I speak only for myself |
> +----------------------------------------------------------------------+
> | Technical questions sent directly to me will be nuked. Use the list. |
> +----------------------------------------------------------------------+
> | http://faq.mrtg.org/                                                 |
> | http://rrdtool.eu.org  --> tutorial                                  |
> +----------------------------------------------------------------------+
>
> --
> 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 



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