[rrd-users] Re: Quoted Values in DEF

Burton, Steven sburton at shepherd-construction.co.uk
Fri Mar 26 12:36:17 MET 2004



-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at ergens.op.het.net]
Sent: 23 March 2004 12:01
To: 'rrd-users at list.ee.ethz.ch'
Subject: [rrd-users] Re: Quoted Values in DEF


On Tue, Mar 23, 2004 at 11:20:33AM -0000, Burton, Steven wrote:

>    DEF:used=/usr/local/sharesize/data/<RRD::CV server>/<RRD::CV::QUOTE
> share>.rrd :size:AVERAGE

First of all:  That space between "rrd" and ":size" does not belong there.

Altered example DEF to fit on one line:

DEF:u=/path/<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'].

Things to try:


   "DEF:u=/path/<RRD::CV::QUOTE share>.rrd:size:AVERAGE"
   DEF:u="/path/<RRD::CV::QUOTE share>.rrd":size:AVERAGE

Alter the variable "share" to say
"part1%20part2" in stead of "part1 part2"

HTH
Alex

Alex,

no go, I'm afraid. The space between "rrd" and ":size" seems to have been
introduced by a mail-client (mine probably - I'm at work and so using
Outlook).

I've tried the two varieties of quoting and they made no difference :-(

My script was already encoding "Co Totals" as "Co+Totals" so I tweaked it to
use %20 (better practice anyway) but it still makes no difference.

thanks again for your suggestions.

Steve.

______________________________________________________________________
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