[rrd-users] Quoted Values in DEF

Burton, Steven sburton at shepherd-construction.co.uk
Tue Mar 23 12:20:33 MET 2004


I'm using rrdtool to accumulate share sizes on our servers and displaying
the results with rrdcgi. So far all is going well except for the one share
name that contains a space and that trip up rrdcgi. My graph tag is (sorry
about the wrap):

   /usr/www/mrtg/htdocs/rrdgifs/<RRD::CV server>.<RRD::CV::QUOTE
   --imginfo '<img src=/rrdgifs/%s width=%lu height=%lu >'
   -t "Space Used by \\<RRD::CV display>\<RRD::CV::QUOTE share>"
   -v Bytes -h 150 -w 600
   -b 1024
   -s -7d  -e now
   -a PNG
   DEF:used=/usr/local/sharesize/data/<RRD::CV server>/<RRD::CV::QUOTE
share>.rrd :size:AVERAGE

The problem seems to be in the DEF line. When share == 'Co Totals' I get the
error message: [ERROR: unknown function 'T'].

Am I doing something wrong here (other than allowing spaces in share names)?

Any help would be most appreciated.


Steve Burton BSc(Hons) MIEE
Network Manager
Shepherd Construction Ltd

Frederick House, Fulford Road,
York. YO10 4EA England.
Phone: +44 (0) 01904 660391
Fax: +44 (0) 01904 610256

Registration Number: 201860 England
Registered Address: Huntington House, Jockey Lane, Huntington, York YO32 9XW

The view or opinions present in this e-mail are solely those
of the author and do not necessarily represent those of the

The email and any files transmitted with it are
confidential and are intended solely for the individual
or entity to which they are addressed.  If you have received
this e-mail in error, please notify sclcomp at shepherd-construction.co.uk
quoting the name of the sender.

Whilst every care has been taken to check this outgoing e-mail
for viruses it is seen as your responsibility to check and
sweep it, and any attachments, for viruses on receipt.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 

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