[rrd-users] change background for special timeperiods

Erik de Mare erik at oezie.org
Mon Jul 2 13:44:22 CEST 2007


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