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

Tobias Oetiker oetiker at ee.ethz.ch
Thu Sep 8 06:18:24 MEST 2005


Hi Damien,

yes you could not put a closing bracket at the end of the second
last line ...

cheers
tobi


> 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?
>
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
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