[rrd-users] Re: Color working hours

Van den Bossche Eric E.VDB at sherwineu.com
Thu Jan 29 11:49:42 MET 2004


Ok,

i found a sample and modified it a bit.

CDEF:wdtest=in,POP,TIME,3600,/," & strTimezone &
",+,DUP,24,/,7,%,DUP,4,LT,EXC,2,GE,+,2,LT,EXC,24,%,DUP," & strWDstart &
",GE,EXC," & strWDend & ",LT,+,2,EQ,1,0,IF,0,IF

CDEF:wd=wdtest,INF,0,IF AREA:wd" & strWDcolor

This is working fine except that the graph doesn't autoscale anymore as soon
as i add above to the graph command.

Any idea how to solve this?

Thanks in advance

eric
-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at ergens.op.het.net]
Sent: Wednesday, 28 January, 2004 17:47
To: RRDTOOL (E-mail)
Subject: [rrd-users] Re: Color working hours


On Wed, Jan 28, 2004 at 04:49:01PM +0100, Van den Bossche Eric wrote:

> can someone show me how to give the background of a graph another color
> during the working hours (let's say from 8am till 6pm) ?

Please see the CDEF tutorial, the examples in there should
help you a lot.

HTH
Alex
-- 
begin  sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list