[rrd-users] gettin rid of aggregation on raw level

Bohdan Linda bohdan.linda at seznam.cz
Thu Jul 15 10:00:47 CEST 2010


Hello,

I have created the following archive:

--start N --step 300 \
DS:hi:GAUGE:600:0:1 \
DS:low:GAUGE:600:0:1 \
DS:pump:GAUGE:600:0:1 \
RRA:LAST:0.5:1:129600 \
RRA:AVERAGE:0.5:6:8640 \
RRA:AVERAGE:0.5:24:2880 \
RRA:AVERAGE:0.5:288:1460

where all three datasources have discrete values [0,1] as  their value
range. Basically on/off switch. 

Polling is done every 5 minutes and I am generating 4 graphs:
--step 300
--start -9d 
--start -5w 
--start -1y 

My expectations were seeing sharp "teeths" on 5 minutes step graph
(representing on/off) and averages on aggregates. But rrd is averaging
even on 5 minutes interval, thus transition from 0 to 1 ( and vice versa )
in done in two 5 minutes steps. After 1st step it is on the half way to 1.
How can I fix it?


Thank you,
-- 
Bohdan Linda



More information about the rrd-users mailing list