[plug] rrdtool

Peter Sutter sutterp at sopac.com.au
Sat May 10 17:46:10 WST 2008


Anybody using rrdtool?

I have to graphically display some historical data going back to 1970.
I try to use the the timestamp of the first sample when using rrdcreate.

I assume that for the first datapoint on 1970-01-03 15:03:56 I would specify 
198236 as the timestamp, as the man pages say the following:

--start│-b start time (default: now - 10s)
               Specifies the time in seconds since 1970-01-01 UTC when the 
first value should be added to the RRD. RRDtool
               will not accept any data timed before or at the time specified.

yet I get the following:

rrdtool create /tmp/clutch_graph.rrd --start 198236 --step 10800 
DS:HAWKINS-711:GAUGE:21600:U:U RRA:AVERAGE:0.5:1:1440
ERROR: start time: did you really mean month 198236?

Where does this month business come from? I specified an absolute time in 
seconds since 1970-01-01

Any clues ?

Peter






More information about the plug mailing list