[rrd-users] rrdcgi and RRD::INCLUDE

Stefan M. Brandl smb at r-kom.de
Thu Oct 15 11:59:51 CEST 2009


Hello,
the RRD::INCLUDE directive in rrdcgi (version 1.2.30)
doesn't work for me.
If I do:

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------

#!/opt/rrdtool/bin/rrdcgi
<RRD::GOODFOR -300>
<HTML>
<BODY BGCOLOR="#ffffff">

<RRD::GRAPH
  gre.png
  --imginfo '<IMG SRC=%s WIDTH=%lu HEIGHT=%lu >'
  -a PNG -w 764 -h 257 -A -E --start -172800 -v "gre"
<RRD::INCLUDE bla.inc>
>

</BODY>
</HTML>

--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------

bla.inc has just one line:

DEF:gre=gre.rrd:user:AVERAGE


I get the error:

[ERROR: Could not make sense out of 'DEF:gre=gre.rrd:user:AVERAGE '] 


Am I doing something wrong here?



Stefan



More information about the rrd-users mailing list