[rrd-users] How to draw color graphs

Pawel Dworniak paul.dworniak at poczta.fm
Wed Jun 13 11:21:56 MEST 2001


I want to draw my graphs in different colors depending on transfer rate

<RRD::GRAPH exampleg.png
     --start -<RRD::CV hour>h
     --end now
     --width 900
     --height 250
     --base=1000
     --imginfo '<IMG SRC="../obrazki/exampleg.png">'
     --imgformat="PNG"
     --lower-limit=0
      DEF:Incoming1=/Inetpub/wwwroot/mrtg/example.rrd:ds0:MAX
      DEF:Outgoing1=/Inetpub/wwwroot/mrtg/example.rrd:ds1:MAX
      CDEF:Incoming=Incoming1,-8,*
      CDEF:Outgoing=Outgoing1,8,*
      CDEF:OK=Incoming,6000,GT,0,Incoming,IF
      AREA:OK#000000:"OK"
      AREA:Incoming#00ff00
      AREA:Outgoing#0000ff>

On this example rrd file I want to draw in different color transfer over 
6Kb (ie 6000)
but it is not working

Thanks for help

Paul Dworniak
Poland


===============================================
Czy Gulczas z Big Brother ma seksualnego garba?
http://relacje.interia.pl/id/relacja?cid=9277


--
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