[rrd-users] Are Multiple "Absolute" Updates per period cumulative?
Phil Henningsen
PhilH at Astrology.com
Fri Jul 28 22:19:14 MEST 2000
Hello to All!
First, I'm a newbie at RRDTool. I've viewed MRTG a lot.
Now I'm trying to implement my own.
Environment: Windows NT (SP6a)
Time: Pacific Daylight Time = GMT - 7:00
I'm trying to convert 2 years of old "log" files that
are in the format:
<time_stamp> = <value_done_since_last_time_stamp>
The <time_stamps> are at approximately 1 minute intervals.
Here is a simple "test" .BAT file:
set rrdt=D:\Apps\Web\RRDTool\
%rrdt%rrdtool create maillog.rrd --start 964335600 ^
DS:emails:ABSOLUTE:600:U:U ^
RRA:AVERAGE:0.5:1:10
%rrdt%rrdtool update maillog.rrd ^
964335997:16 964336072:07 964336135:13 964336197:07 ^
964336270:18 964336370:15 ^
964336549:22 964336616:37 964336681:17 964336744:18 ^
964336847:11 964336914:24 964336979:17 964337045:07
%rrdt%rrdtool fetch maillog.rrd AVERAGE ^
--start 964335600 --end 964337100
The output of the "fetch" is: (// are comments)
964335600: -1.#IND000000e+000 // 7/23/00 00:00:00
964335900: 4.0302267003e-002 // 00:05 Sum=43 Avg/sec=0.1433
964336200: 1.0549681976e-001 // 00:10 Sum=33 Avg=0.1100
964336500: 1.6079309201e-001 // 00:15 Sum=94 Avg=0.3133
964336800: 2.8000976298e-001 // 00:20 Sum=59 Avg=0.1966
964337100: -1.#IND000000e+000
The problem is that the AVERAGEs (and the Graphs) are not
even close to what I calculate / expect.
What am I doing wrong here?
Many thanks for your help.
Phil Henningsen
--
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