[rrd-users] Can this kind of chart be drawn with RRDTool ?

Jean-Yves Avenard jyavenard at gmail.com
Sat Feb 20 09:56:27 CET 2010


Silly me; I got the order of the arguments wrong for IF.

I have however found something very weird...

If I do:
                          "DEF:tt=dummy.rrd:dummy:AVERAGE",

"CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF",
                          "AREA:day1#32348e",

"CDEF:dusk1=tt,POP,TIME,$sunset1,$dusk1,LIMIT,UN,UNKN,INF,IF",
                          "AREA:dusk1#2d2d5f",

Then between the first colour and the 2nd colour, there is a big white line...

I have to do:
                          "DEF:tt=dummy.rrd:dummy:AVERAGE",

"CDEF:day1=tt,POP,TIME,$sunrise1,$sunset1,LIMIT,UN,UNKN,INF,IF",
                          "AREA:day1#32348e",

"CDEF:dusk1=tt,POP,TIME,$sunset1,187,-,$dusk1,LIMIT,UN,UNKN,INF,IF",
                          "AREA:dusk1#2d2d5f",

I must make the two time zone overlap by 187s to remove the white
line... Any lesser value and the white line shows ...


This is with a resolution of 300 (5 minutes)

Any ideas why ?

Thank you



More information about the rrd-users mailing list