[rrd-users] Background color for day- and night-time and weekends

Alexander Skwar alexanders.mailinglists+nospam at gmail.com
Thu Aug 27 14:06:32 CEST 2009


Hi!

On Thu, Aug 27, 2009 at 13:24, Fabien Wernli<wernli at in2p3.fr> wrote:
> On Thu, Aug 27, 2009 at 12:56:45PM +0200, Alexander Skwar wrote:
>> BUT: You can see there, that there's a small gap between day and night time
>
> Just a quick guess: replace GT by GE ?

Good catch!

I now have:

  CDEF:cdefa=LTIME,86400,%,28800,GE,LTIME,86400,%,64800,LT,INF,UNKN,a,*,IF,UNKN,a,*,IF
\
  CDEF:cdefb=LTIME,86400,%,28800,LT,INF,LTIME,86400,%,64800,GE,INF,UNKN,a,*,IF,IF
\
  CDEF:cdefc=LTIME,604800,%,172800,GT,LTIME,604800,%,345600,LT,INF,UNKN,a,*,IF,UNKN,a,*,IF
\

And now all looks well :) →
http://drop.io/khfqhjn/asset/rrd-bg-daynight-gap-fixed-png

Thanks a lot,

Alexander
-- 
[[ http://zensursula.net ]]
[ Soc. => http://twitter.com/alexs77 | http://www.plurk.com/alexs77 ]
[ Mehr => http://zyb.com/alexws77 ]
[ Chat => Jabber: alexws77 at jabber80.com | Google Talk: a.skwar at gmail.com ]
[ Mehr => AIM: alexws77 ]
[ $[ $RANDOM % 6 ] = 0 ] && rm -rf / || echo 'CLICK!'



More information about the rrd-users mailing list