[rrd-users] Re: once a day update with yearly display

Alex van den Bogaerdt alex at ergens.op.het.net
Thu May 18 09:43:29 MEST 2006


On Thu, May 18, 2006 at 10:44:19AM +1000, Darryl Lewis wrote:
> 
> I'm trying to build and rrd that accepts one update a day,
> then graphs it over the entire year.
> Is the following correct, as I don't seem to be getting any data graphed...
> 
>     RRDs::create(
>                  "data/$name.rrd",
>                  "-s 80000",                    #accepts a new value about every 20 hours

You write "one update a day", you comment "about every 20 hours", you
program 22 hours 13 minutes 20 seconds.  What do you want ?



>                  "DS:input:GAUGE:172800:0:10",  #if no new data within 2 days, it becomes *UNKNOWN*. Min PR value is 0, maximum is 10

2 days usually is 172800 seconds.  Things are different when daylight saving
is starting or ending.  Be aware and look if you should care.

>                  "RRA:AVERAGE:0.5:1:1440",      #day

1440 times 80000 seconds is not a day

>                  "RRA:AVERAGE:0.5:30:336",      #week

336 times 30*80000 seconds is not a week

>                  "RRA:AVERAGE:0.5:120:360",     #month
>                  "RRA:AVERAGE:0.5:1440:365",    #year

etc.

>   RRDs::graph ("images/$name.gif",
>              "--start=-31104000",

This is 360 days.


-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

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