[rrd-users] Re: STACK and NaN values generating weird looking graph.

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Jul 14 15:45:14 MEST 2005


On Thu, Jul 14, 2005 at 02:58:44PM +0200, Rickard Dahlstrand wrote:

> /usr/local/bin/rrdtool update xxx.rrd --template xxxvalue N:123
> 
> /usr/local/bin/rrdtool graph - --imgformat=PNG --start=-1d --end=NOW 
> --titl    e="xxxx" --base=1000 --height=400 --width=850 --lower-limit=0 
> --vertical-label="xxxx"

[snip]

>  DEF:a19="xxx.rrd":xxxvalue:AVERAGE
>  DEF:a20="xxx.rrd":xxxvalue:AVERAGE
>  AREA:a1#990000:"XXXX":STACK

There's nothing to stack on.  Perhaps that is a problem?
Some suggestions (pick one at a time, undo before trying the next):

Try to add a line before this first area: LINE1:0
Try removing ":STACK" in the first AREA:  AREA:a1#990000:"XXXX"
Try altering unknown into zero, using CDEFS:
   CDEF:aa1=a1,UN,0,a1,IF
   [...]
   CDEF:aa20=a20,UN,0,a20,IF
   AREA:aa1#990000:"XXXX":STACK
   [...]
   AREA:aa20#00FF00:"XXXX":STACK

HTH
Alex

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list