[rrd-users] Duplicate month

Alex van den Bogaerdt alex at ergens.op.het.net
Fri Jun 1 13:00:42 CEST 2007


On Fri, Jun 01, 2007 at 08:08:33AM +0200, Mathieu LARCHET wrote:

> >>I'm new at rrdtool and I have a strange behavior with x-axis labels.
> >>I've specified --x-grid MONTH:1:MONTH:1:MONTH:1:0:%b options and I have a
> >>duplicate month : october.
> >>
> >>If I try with %m option, then I have : 1 2 3 4 5 6 7 8 9 _*10*_ _*10*_ 12

Month number 10 is when daylight saving ends. On the last Sunday,
at 01:00 UTC, wallclock time changes from 03:00 to 02:00.
This means October is one hour longer than it would normally be.
If it's "October 1st 00:00" at the beginning of the month, then
after 31 times 24 hours it is "October 31st 23:00".

Try changing your x-axis label definition, especially the part
"1:0:%b".

I didn't try it, but I think you are placing labels at the wrong
place and thus suffer from this "problem" (not really a problem,
because if I'm right, you are asking RRDtool to do this).

HTH
-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/



More information about the rrd-users mailing list