[rrd-developers] Bug in RRDTool

Pieter Steyn pieter at clue.co.za
Thu Sep 28 18:31:34 MEST 2006


Hi guys, copy of my mail to Tobias.

----------  Forwarded Message  ----------

Subject: Bug in RRDTool
Date: Thursday 28 September 2006 17:13
From: Pieter Steyn <pieter at clue.co.za>
To: oetiker at ee.ethz.ch

Hi Tobias,

I think I've discovered a bug in RRDTool version 1.2.6

Example :
> -s 1159421342 \
> -e `perl -e 'print time, "\n" '` \
> --title "Total traffic" \
> DEF:3_b_in=cretin.clue.co.za_client_SSH.rrd:b_in:AVERAGE \
> DEF:3_b_out=cretin.clue.co.za_client_SSH.rrd:b_out:AVERAGE \
> CDEF:3_n_b_in=3_b_in,UN,0,3_b_in,IF \
> CDEF:3_n_b_out=3_b_out,UN,0,3_b_out,IF \
> "AREA:3_n_b_out#AA0000:Outgoing Bytes:STACK" \
> "AREA:3_n_b_in#00FF00:Incoming Bytes:STACK"

Reports : 481x179

And shows invalid data.

Example 2 :
> -s 1159421342 \
> -e `perl -e 'print time, "\n" '` \
> --title "Total traffic" \
> DEF:test_b_in=cretin.clue.co.za_client_SSH.rrd:b_in:AVERAGE \
> DEF:test_b_out=cretin.clue.co.za_client_SSH.rrd:b_out:AVERAGE \
> CDEF:test_n_b_in=test_b_in,UN,0,test_b_in,IF \
> CDEF:test_n_b_out=test_b_out,UN,0,test_b_out,IF \
> "AREA:test_n_b_out#AA0000:Outgoing Bytes:STACK" \
> "AREA:test_n_b_in#00FF00:Incoming Bytes:STACK"

Reports: 505x179

And shows the correct data.

The problem seems to be with starting defnames with a number.  I've had a
 look at the convention help page, and there is nothing that advises me
 against doing this.  So, its either a bug, or someone has just forgotten to
 make mention of this 'rule', or I'm just being stupid. :)

Kind regards,
Pieter Steyn.

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list