[rrd-users] Invalid RPN expression

Steve Shipway s.shipway at auckland.ac.nz
Wed Oct 9 05:12:34 CEST 2013


I’m not certain, but you may have reached an undocumented maximum limit for
the name length of a variable.

 

Note that this is the first CDEF working on the first DEF.  I think that
there might be a limit to the length of an RPN token in a CDEF in the
version of RRDTool you’re using, that is not caught during the DEF.  I’ve
not spotted anything obvious in the code but I’ve not had a proper look,
either; you also do not say which version of RRDTool you’re using.

 

Try shortening the names, if possible, and see if it works then.  Also,
update to the latest stable RRDTool (1.4.x) if possible.

 

Steve

 

  _____  

Steve Shipway

ITS Unix Services Design Lead

University of Auckland, New Zealand

Floor 1, 58 Symonds Street, Auckland

Phone: +64 (0)9 3737599 ext 86487

DDI: +64 (0)9 923 6487

Mobile: +64 (0)21 753 189

Email:  <mailto:s.shipway at auckland.ac.nz> s.shipway at auckland.ac.nz

P Please consider the environment before printing this e-mail : 打印本邮件,
将减少一棵树存活的机会

 

From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
[mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On
Behalf Of Crowder, Travis
Sent: Wednesday, 9 October 2013 9:37 a.m.
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] Invalid RPN expression

 

I am trying to sort out an invalid RPN expression, but I am a bit confused
as it works on other graphs using the same class to generate the rrdtool
command.

 

Does anyone see anything obvious from the command below?

 

TIA!

 

rrdtool graph -w 400 -h 175 -l 0 -t "Load on collectd.penton.com" -v "System
Load" -s e-86400
DEF:min_9f24bee8_raw=/rrd/file/collectd.penton.com/load/load.rrd:shortterm:M
IN
DEF:avg_9f24bee8_raw=/rrd/file/collectd.penton.com/load/load.rrd:shortterm:A
VERAGE
DEF:max_9f24bee8_raw=/rrd/file/collectd.penton.com/load/load.rrd:shortterm:M
AX
DEF:min_b00f45d5_raw=/rrd/file/collectd.penton.com/load/load.rrd:midterm:MIN
DEF:avg_b00f45d5_raw=/rrd/file/collectd.penton.com/load/load.rrd:midterm:AVE
RAGE
DEF:max_b00f45d5_raw=/rrd/file/collectd.penton.com/load/load.rrd:midterm:MAX
DEF:min_23fab77_raw=/rrd/file/collectd.penton.com/load/load.rrd:longterm:MIN
DEF:avg_23fab77_raw=/rrd/file/collectd.penton.com/load/load.rrd:longterm:AVE
RAGE
DEF:max_23fab77_raw=/rrd/file/collectd.penton.com/load/load.rrd:longterm:MAX
CDEF:min_9f24bee8=min_9f24bee8_raw,1,* CDEF:avg_9f24bee8=avg_9f24bee8_raw,1,
* CDEF:max_9f24bee8=max_9f24bee8_raw,1,* CDEF:min_b00f45d5=min_b00f45d5_raw,
1,* CDEF:avg_b00f45d5=avg_b00f45d5_raw,1,*
CDEF:max_b00f45d5=max_b00f45d5_raw,1,* CDEF:min_23fab77=min_23fab77_raw,1,*
CDEF:avg_23fab77=avg_23fab77_raw,1,* CDEF:max_23fab77=max_23fab77_raw,1,*
AREA:max_9f24bee8#bfffbf AREA:min_9f24bee8#ffffff
"LINE1:avg_9f24bee8#00FF00:1 min " "GPRINT:min_9f24bee8:MIN:%.2lf Min,"
"GPRINT:avg_9f24bee8:AVERAGE:%.2lf Avg," "GPRINT:max_9f24bee8:MAX:%.2lf Max,
" "GPRINT:avg_9f24bee8:LAST:%.2lf Last\l" "LINE1:avg_b00f45d5#0000FF:5 min "
"GPRINT:min_b00f45d5:MIN:%.2lf Min," "GPRINT:avg_b00f45d5:AVERAGE:%.2lf Avg,
" "GPRINT:max_b00f45d5:MAX:%.2lf Max," "GPRINT:avg_b00f45d5:LAST:%.2lf
Last\l" "LINE1:avg_23fab77#FF0000:15 min" "GPRINT:min_23fab77:MIN:%.2lf Min,
" "GPRINT:avg_23fab77:AVERAGE:%.2lf Avg," "GPRINT:max_23fab77:MAX:%.2lf Max,
" "GPRINT:avg_23fab77:LAST:%.2lf Last\l"

 

ERROR: invalid rpn expression in: min_9f24bee8_raw,1,*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20131009/abfcfd3c/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5900 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20131009/abfcfd3c/attachment-0001.bin 


More information about the rrd-users mailing list