[rrd-users] question about io-usage

Manuel Bogner mb at netmonic.com
Sun Dec 21 20:33:13 CET 2008


hello user list,

we have a rr-database created as followed:

RRD.create(
rrd_path,
"--start", Time.now.to_i - 1.weeks,
 "--step", "60", # x second steps
"DS:read:COUNTER:600:0:#{2**32}",
"DS:wrtn:COUNTER:600:0:#{2**32}",
"RRA:AVERAGE:0.5:1:#{1.month.to_i}",    # every minute for 1 month
"RRA:AVERAGE:0.5:10:#{3.month.to_i/10}",# every 10 minutes for 3 months
"RRA:AVERAGE:0.5:30:#{6.month.to_i/30}",# every 30 minutes for 6 months
"RRA:AVERAGE:0.5:60:#{12.month.to_i/60}"# every 60 minutes for 12months)

we fill it with blocks_written/blocks_read from iostat and want to
display the average over the last 4 hours for both values.

=> average blocks_written_per_second and average_blocks_read_per_second

I hope someone can help us, because we weren't able to find the wright
query/way till now.

kind regards,
manuel



More information about the rrd-users mailing list