[rrd-users] GPRINT Problem

Steve Dussaux stevox2000 at yahoo.com
Thu Jan 30 10:51:27 MET 2003


I have the following lines to graph a png file :

rrdtool graph - -s -31557600 -a PNG -v GBytes -l 1 -b 1024
DEF:var0=/usr/local/nagios/rrd/uof35_disk_usage.rrd:disk-free:AVERAGE\
CDEF:cdef0=var0,1024,/,1024,/\
AREA:cdef0#ff0000:disk-free\
GPRINT:var0:AVERAGE:"Average: %8.2lf% %s\n"\
DEF:var1=/usr/local/nagios/rrd/uof35_disk_usage.rrd:disk-used:AVERAGE\
CDEF:cdef1=var1,1024,/,1024,/\
STACK:cdef1#00ff00:disk-used

I don't manage to obtain an image. When i remove the GPRINT i manage to obtain an image.
How can i do to use the GPRINT function in this case 

Steve

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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