[rrd-users] my rrd can only be updated at/after 8:00 a.m.
Michael Chan
micpchan at yahoo.com.hk
Tue Jun 26 10:41:19 MEST 2001
Dear all,
I want to plot the number of daily incoming and
outgoing email of my email server using rrdtool. What
I do is:
1. rotate my email log at 12:00 mid night
2. Run a script that can output the number of incoming
and outgoing email to a database called "email.rrd".
However, I found that I could only update the database
at or after 8:00 a.m. everyday. Therefore, I extract
the data from my database by "rrdtool fetch email.rrd
AVERAGE" and I c the following:
in out
993427200: 1.1333172454e+02 1.4733057870e+02
993513600: 2.0600000000e+02 3.0600000000e+02
In fact, 993427200 refers to "Mon Jun 25 08:00:00
2001" and 993513600 refers to "Tue Jun 26 08:00:00
2001".
I think there may be something wrong with my database
so I re-create the database by:
rrdtool create email.rrd --start 992793600 --step
86400 DS:in:GAUGE:178000:U:U DS:out:GAUGE:178000:U:U
DS:insize:GAUGE:178000:U:U DS:outsize:G
AUGE:178000:U:U RRA:AVERAGE:0.5:1:600
RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600
RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775
RRA:MAX:0.5:288:797
What I am trying to do is to force the "time-axis" of
my database to start at 12:00 midnight instead of 8:00
a.m. "992793600" in fact refers to "Mon Jun 18
00:00:00 2001"
However, the same problem happen. The "time-axis" of
my database is still starting at 8:00 a.m with an
increment of 86400s.
Any idea?
Thank you!!
Regards,
Mic
_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
--
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