[rrd-users] Newbie question

Dan Richman dan at danrichman.com
Wed Jan 23 20:34:03 CET 2008


Hello all -

I'm new to RRDtool and trying to track DAILY logins to a website.  So  
each day we will update the RRD with a count of the logins for that  
day.  This was my create syntax:

rrdtool create logins.rrd
--start 1138856400
--step 86400
DS:logins:GAUGE:86400:U:U
RRA:AVERAGE:0.5:1:1825
RRA:AVERAGE:0.5:30:60
RRA:AVERAGE:0.5:60:30
RRA:AVERAGE:0.5:90:20

As you can see, I'm keeping averages for 30 days, 60 days, and 90 days.

Thing is, when I run the results:

rrdtool fetch logins.rrd AVERAGE --start 1144209600 --end 1200978000

I would expect daily totals but instead am getting strange (i.e.  
3.7916666).

Any help is appreciated!





More information about the rrd-users mailing list