[rrd-users] Re: Problem with rrdtool graph PRINT statement
Alex van den Bogaerdt
alex at ergens.op.het.net
Sat Jun 4 22:01:47 MEST 2005
On Sat, Jun 04, 2005 at 08:19:40PM +0100, Olly Butterfield wrote:
> /usr/bin/rrdtool graph -
> --start=1117580400
> --end=1117904400
> DEF:crin="cr1_traffic_in_48.rrd":traffic_in:AVERAGE
> DEF:crout="cr1_traffic_in_48.rrd":traffic_out:AVERAGE
> CDEF:cdefin=crin,8,*
> CDEF:cdefout=crout,8,*
> PRINT:cdefin:AVERAGE:"Average\:%8.2lf%s"
> PRINT:cdefout:AVERAGE:"Average\:%8.2lf%s"
>
> (reproduced here on separate lines for clarity)
>
> The php script I'm using gets the timestamp for the start of the month
> and for the the end point that i want to use. What I would expect to
> happen is that 2 values are printed to the standard out, but nothing
> seems no be happening - no errors and no output. I've tried rrdtool
> fetch but for what I want to do, it's very very messy.
Somehow the "-" (behind graph) is in your way.
Change it to x and you're fine.
HTH
Alex
--
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