[rrd-users] graph step boundary selection algorithm

Rafal Gwizdala rafal.gwizdala at gmail.com
Mon Jun 18 11:11:14 CEST 2012

Hi, I'm experimenting with varying graph step sizes (for auto-selecting an
optimal step size for selected date range) and would like to know what
algorithm rrdtool uses for selecting step boundaries.
For example, when I'm drawing a graph with 1 hour step (3600) then rrdtool
makes the step begin at full hours. The same with 30 minute steps, 5 minute
steps etc - every time the step boundary is adjusted to the clock time in a
reasonable  way. But for step size equal to 6 hours rrdtool makes the step
begin at 2AM, 8AM, 2PM and 8 PM instead of 12AM, 6AM, 12PM and 6PM - so
there's an overlap between days. Do you know why? Does it depend on rrd
start date, or something else?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120618/ca313f28/attachment-0001.htm 

More information about the rrd-users mailing list