[rrd-users] problem sampling at every hour

Peter Chiang peter.chiang at osatechnologies.com
Tue Nov 19 23:59:29 MET 2002



I want to sample the data every hour, instead of every 5 minutes increment.
What is the ways to configure rrdtool?

my command, this the example I took from the tutorial and extend to the
rrdtool create all.rrd --start 978297600 DS:b:GAUGE:600:U:U
RRA:AVERAGE:0.60:1:24

(update the data every hour, instead of 300 secords == 5 minutes
rrdtool update all.rrd 978301200:1 978304800:3 978308400:5 978312000:3
978315600:1 978319200:2 978322800:4 978326400:4 978330000:6 978333600:4
978337200:2

rrdtool fetch all.rrd AVERAGE -s 978300600 -e 978337200

no matter what values I tried to fetch, it gave me
978300000: nan
978303600: nan
978307200: nan
978310800: nan
978314400: nan
978318000: nan
978321600: nan
978325200: nan
978328800: nan
978332400: nan
978336000: nan
978339600: nan

rrdtool graph /var/www/html/all1.gif -s 978300600 -e 978337200 -h 400
DEF:lineb=all.rrd:b:AVERAGE LINE3:lineb#00FF00:"Line B"



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



More information about the rrd-users mailing list