[rrd-users] rrdgraph problems with year timeline.

Tobias Oetiker tobi at oetiker.ch
Fri Jun 15 17:34:45 CEST 2007


the problem is that you have set the LPR argument such that the
label is placed at midnght of the first of the month. This is
wrong. The label concerns the whole month, so you must set the
precision to 30 days (roughly)

  30 * 24 * 3600

in october your error becomes a particular problem because of the
daylight switching problem


Today Danny Kj?rgaard wrote:

> Hi,
> I just started using rrdtools, and fell over something i cant really find in
> the man pages or in a tutorial. I need to make a graph over a year, and
> would like all major gridlines to be a month, and when i do this with this
> x_grid MONTH:1:MONTH:1:MONTH:1:0:%b i get double october.
> Now this is one thing i cant figure out, and an other is, i would like the
> same behavior as the above x_grid except that there should be a alt_grid in
> between the majors. How could this easy be done ?
> Sorry, if i overlooked something.
> -Danny
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902

More information about the rrd-users mailing list