[rrd-users] change background for special timeperiods

Markus Schmidberger schmidb at ibe.med.uni-muenchen.de
Mon Jul 2 16:35:41 CEST 2007


Thanks a lot. I still have some more questions:

How can I highlight weekends: Friday 20:00 to Monday 6:00?

CDEF:werk colors the day times. We want to color the night. What do we 
have to change?

Thanks,
Markus

Erik de Mare schrieb:
> would be a little CDEF
>
> DEF:buiten=/root/rrd/temp/sensor0.rrd:C:AVERAGE
> CDEF:werk=LTIME,86400,%,28800,GT,LTIME,86400,%,64800,LT,INF,UNKN,buiten,*,IF,UNKN,buiten,*,IF
>
> where 28800(8:00) is the seconds since 0:00 when to start, and 64800(18:00) is the seconds since 0:00 when to stop.
> example graph: http://haas.oezie.org/rrd/temp/temperatuur-day.png
>
> Mvg,
> Erik
>
> On Mon, 02 Jul 2007 12:27:39 +0200, Markus Schmidberger <schmidb at ibe.med.uni-muenchen.de> wrote:
>   
>> Hello,
>>
>> we use Nagios with PNP / RRDtool and want to have different background
>> colors for night- (8pm-6am) and day-time (6am-8pm).
>> (and weekend)
>>
>> Can you help me, how to do this?
>>
>> Thanks
>> Markus
>>
>> _______________________________________________
>> rrd-users mailing list
>> rrd-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>>     
>
>   



More information about the rrd-users mailing list