[rrd-users] Use rrdtool::create function with setting "Last Update" value

Damien THIESSON damien at verygames.net
Wed Sep 7 22:44:18 MEST 2005


Hi,

I'm using this function to create a rrd file:

RRDs::create ("$path/ca_vg.rrd",
          "-s 300",
          "DS:ca:GAUGE:600:0:300000",
          "DS:billing:GAUGE:600:0:300000",         
          "RRA:AVERAGE:0.5:1:864",        # 1 dot = 5 mins  ; pendant 3 
jours
          "RRA:AVERAGE:0.5:7:576",        # 1 dot = 35 mins ; pendant 2 
semains
          "RRA:AVERAGE:0.5:30:594",        # 1 dot = 2h30      ; pendant 
2 mois
          "RRA:AVERAGE:0.5:360:2880"),    # 1 dot = 30h      ; pendant 
10 ans
          "--start 1083456000";

I'm using --start ** for putting old data, since timestamp 1083456000. 
But the rrd file created has the current timestamp in the "last update" 
value (=> start doesn't work?)

Because of the fact that data must be entered chronologicaly, there is 
an error !

Someone can help me?

-- 
Damien THIESSON

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list