[rrd-users] Re: rrdtool graph -> text output only. not generate an image.

R Blundell rickb at rapidvps.com
Tue Aug 8 16:51:26 MEST 2006

 > Tobias Oetiker wrote:
 > all you have todo is NOT use and graphing commands so essentially
 > DEV, CDEF, VDEF, GPRINT and nothing else ...

Thank you for the tip. I have included the complete command I am trying. 
I remember not putting a filename after the graph switch but I think I 
am still missing something. All of my commands are DEF, CDEF, GPRINT, or 
COMMENT. The error message I receive is:

ERROR: invalid rpn expression in: transmit2,8,*

My command is:

rrdtool graph -s -86400  \
  "DEF:transmit2=9889208.rrd:transmit_bytes:AVERAGE" \
"CDEF:transmit=transmit2,8,*" \
  "CDEF:receive=receive2,8,*"  \
  "GPRINT:transmit:MAX:  Max\: %5.1lf %S" "GPRINT:transmit:AVERAGE: 
Avg\: %5.1lf %S" \
  "GPRINT:transmit:LAST: Current\: %5.1lf %Sbits/sec\n" \
  "GPRINT:receive:MAX:  Max\: %5.1lf %s" "GPRINT:receive:AVERAGE: Avg\: 
%5.1lf %S" \
  "GPRINT:receive:LAST: Current\: %5.1lf %Sbits/sec\n" 
"CDEF:treceive=receive2,UN,0,receive2,86400,*,IF" \
"CDEF:combined=treceive,ttransmit,+" COMMENT:"\n" \
  COMMENT:"In this time Period, your combined usage is" 
GPRINT:combined:AVERAGE:"%8.2lf %s Bytes\n"     \
  COMMENT:"In this time Period, your inbound usage is" 
GPRINT:treceive:AVERAGE:"%8.2lf %s Bytes\n" \
  COMMENT:"In this time Period, your outbound usage is" 
GPRINT:ttransmit:AVERAGE:"%8.2lf %s Bytes\n"

Thank you,

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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list