[rrd-users] Updates once a day

Steve Shipway s.shipway at auckland.ac.nz
Sat Jan 31 08:56:34 CET 2015


rrdtool create freeports.rrd --step 86400 DS:eth:GAUGE:172800:0:U
RRA:AVERAGE:0.5:1:30 RRA:AVERAGE:0.5:7:4 RRA:AVERAGE:0.5:30:6

So, your step is 1 day, then you have three RRAs, daily (month long), weekly (month long) and monthly(ish)(6mo long).

When you do a FETCH, make sure to specify the  first RRA, and to have the bounds correctly to include the number of lines you want to fetch.  Also, if you're not located in the UK, you might find the timezone causing problems as the step boundary is measured in UCT and so will tick over at midnight GMT.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487




More information about the rrd-users mailing list