[rrd-users] rrdcgi [ERROR: unknown function 'DEF:']

Gilles Lamiral lamiral at mail.dotcom.fr
Sun Sep 10 07:41:39 MEST 2000


Hello,

I wonder why this works:
------------------------
#!/usr/local/rrdtool-1.0.11/bin/rrdcgi

<RRD::GRAPH opstatus.png
--imginfo '<IMG SRC=%s WIDTH=%lu BORDER=0 HEIGHT=%lu >'
--start -1d --end now
DEF:statusAve=opstatus.rrd:opstatus:AVERAGE
AREA:statusAve#00ff00:statusAve
>

But not this:
-------------
#!/usr/local/rrdtool-1.0.25/bin/rrdcgi

<RRD::GRAPH opstatus.png
--imginfo '<IMG SRC=%s WIDTH=%lu BORDER=0 HEIGHT=%lu >'
--start -1d --end now
DEF:statusAve=opstatus.rrd:opstatus:AVERAGE
AREA:statusAve#00ff00:statusAve
>

I have a beautiful : [ERROR: unknown function 'DEF:'] 

Only the rrdcgi release is changed from 1.0.11 to 1.0.25

Thanks in advance
-- 
au revoir,
Gilles Lamiral. France, Laillé (35890).
33 (0) 2 99 42 33 80 
33 (0) 6 20 79 76 06

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