[rrd-users] Re: Answer to question on expiration

Mike Bernhardt mbernhardt at arsin.com
Thu Feb 15 20:13:22 MET 2001


I found the problem- when I initially set up mrtg.cfg and ran it, I didn't
have Interval:1 in it. Later, I changed it but the .rrd was already created
with a step of 300. Sorry to bother everyone with this!

Mike


On Thu, Feb 15, 2001 at 10:01:47AM -0800, Mike Bernhardt wrote:
: 
: Sorry for replying to myself, but I need to revise my explanation of
: the problem. Interval: 1. Modification time of .png and .rrd is every 1
: minute as expected.
: 
: What happens is that the .png shows increasing white space for
: 4 minutes, then fills in the white space on the 5th minute. I haven't
spent
: time looking into how to pull data out of the rrd file (I know...) so I
: don't know if it
: has 5 identical entries or if the .png isn't reflecting new data.

This usually means that you've got a step interval of 5 minutes in
your RRD file (which I believe is the default).  You may be pumping
in data every 1 minute, but RRD is only going to put in a new value
every five minutes (an interpolated value from those 1 minute runs).

The solution to this is to either update your RRD to store values
on 1 minute steps (which will make a very large RRD file) or change
your graphing end time to be ( current time - ( current time % 5 ) ).
That's how RRD stores it's data, so your ending time will always
be on the last RRD data step.

* Philip Molter
* DataFoundry.net
* http://www.datafoundry.net/
* philip at datafoundry.net

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list