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

Tobias Oetiker tobi at oetiker.ch
Tue Aug 8 17:16:25 MEST 2006


Today R Blundell wrote:

>  > 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" \
>   "DEF:receive2=9889208.rrd:receive_bytes:AVERAGE"
> "CDEF:transmit=transmit2,8,*" \
>   "CDEF:receive=receive2,8,*"  \
[...]

Rick,

the second argument to graph must be the filenme for the graph,
even when it is not generated ... so

 rrdtool graph dummy.png -s -86400 \
   "DEF:transmit2=9889208.rrd:transmit_bytes:AVERAGE" \
   "DEF:receive2=9889208.rrd:receive_bytes:AVERAGE" \
   "CDEF:transmit=transmit2,8,*"


note that COMMENT is a graph comment ... don't use it !

cheers
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://tobi.oetiker.ch tobi at oetiker.ch ++41 62 213 9907

--
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