You are not logged in.

#1 2007-06-06 21:44:02

print
Member
Registered: 2007-02-27
Posts: 174

RRDtool Graphing

I am trying to graph a once-daily value over a weekly and yearly basis:

rrdtool create test.rrd --start 1181163537 --step 86400 DS:test:GAUGE:172800:0:U RRA:AVERAGE:0.5:1:365

I have two problems:

1) I want to graph already-existing data, rather than collecting new. But apparently the "last updated" time internal to the RRDB cannot occur after the values one wants to insert. The following error message helped me figure that out:

rrdtool update test.rrd 1180644240:1234 1180730681:2234 1180817095:3234 1180903510:10001 1180989923:20
00
ERROR: illegal attempt to update using time 1180644240 when last update time is 1181163537 (minimum one second step)

I tried

dump

ing the RRDB, changing the last_updated timestamp, and then

restore

ing the database, but that didn't work.

And that brings me to the second problem, which is that I get only empty graphs:

$ rrdtool graph test.png --start 1180558209 --end now DEF:ds0=test.rrd:test:AVERAGE
0x0

I believe the second issue to be symptomatic of the first.

TIA for any ideas on how to get this rolling.

Last edited by print (2007-06-06 23:07:03)


% whereis whatis whence which whoami whois who

Offline

#2 2007-06-19 12:29:41

print
Member
Registered: 2007-02-27
Posts: 174

Re: RRDtool Graphing

bump?


% whereis whatis whence which whoami whois who

Offline

#3 2007-06-19 12:35:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: RRDtool Graphing

If you haven't got an answer here by now, it's likely you won't. Have you tried the rrdtool ML?

http://oss.oetiker.ch/rrdtool/support.en.html

Offline

Board footer

Powered by FluxBB