|
|
| Author |
Message |
ashke
Joined: 06 Feb 2008 Posts: 32
|
Posted: Thu Apr 24, 2008 1:25 pm Post subject: |
|
|
| Re bump.
|
|
| Back to top |
|
 |
bleearg
Joined: 27 Apr 2005 Posts: 45
|
Posted: Mon May 12, 2008 2:30 pm Post subject: |
|
|
I found this post while investigating a similar issue with graphs that have multiple sources, all totaled up. Looking at my graph debug output, I see that some cdefs are referencing the MIN function, but I don't have MIN defined in any of the graphs:
| Code: | DEF:c="/opt/web/virtual/cacti/rra/edge01_traffic_in_2204.rrd":traffic_in:AVERAGE \
DEF:d="/opt/web/virtual/cacti/rra/edge01_traffic_in_2204.rrd":traffic_in:LAST \
DEF:e="/opt/web/virtual/cacti/rra/edge01_traffic_in_2204.rrd":traffic_in:MIN \
DEF:f="/opt/web/virtual/cacti/rra/edge01_traffic_in_2204.rrd":traffic_in:MAX \ |
I've got AVERAGE for my first AREA and subsequent STACKS, then CURRENT, AVERAGE, and MAX defined for my GPRINTs. Is it possible that these two problems are related?
|
|
| Back to top |
|
 |
ashke
Joined: 06 Feb 2008 Posts: 32
|
Posted: Tue Jun 17, 2008 5:01 pm Post subject: |
|
|
| Still looking for help on this.
|
|
| Back to top |
|
 |
Syngress
Joined: 24 Apr 2007 Posts: 13
|
Posted: Thu Jul 24, 2008 8:07 am Post subject: |
|
|
I am also seeing this issue on graph's that have Data Sources from multiple devices.
As you can see in the image the 'current' and 'average' totals are correct but the 'Maximum' totals are not
As a poster mentioned above I also get the MIN Def's in there but these are not being used anywhere.
| Code: |
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Total Linx Traffic In" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:9:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
--font AXIS:7:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
--font LEGEND:7:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
--font UNIT:7:/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf \
DEF:a="/var/www/cacti/rra/pe-1_ltn1_traffic_in_3407.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/cacti/rra/pe-1_ltn1_traffic_in_3407.rrd":traffic_in:LAST \
DEF:c="/var/www/cacti/rra/pe-1_ltn1_traffic_in_3407.rrd":traffic_in:MIN \
DEF:d="/var/www/cacti/rra/pe-1_ltn1_traffic_in_3407.rrd":traffic_in:MAX \
DEF:e="/var/www/cacti/rra/pe-1_lhc1_test_traffic_in_3419.rrd":traffic_in:AVERAGE \
DEF:f="/var/www/cacti/rra/pe-1_lhc1_test_traffic_in_3419.rrd":traffic_in:LAST \
DEF:g="/var/www/cacti/rra/pe-1_lhc1_test_traffic_in_3419.rrd":traffic_in:MIN \
DEF:h="/var/www/cacti/rra/pe-1_lhc1_test_traffic_in_3419.rrd":traffic_in:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefb=b,8,* \
CDEF:cdefd=d,8,* \
CDEF:cdefe=e,8,* \
CDEF:cdeff=f,8,* \
CDEF:cdefh=h,8,* \
CDEF:cdefi=TIME,1216903524,GT,a,a,UN,0,a,IF,IF,TIME,1216903524,GT,e,e,UN,0,e,IF,IF,+,8,* \
CDEF:cdefj=TIME,1216903524,GT,b,b,UN,0,b,IF,IF,TIME,1216903524,GT,f,f,UN,0,f,IF,IF,+,8,* \
CDEF:cdefbb=TIME,1216903524,GT,a,a,UN,0,a,IF,IF,TIME,1216903524,GT,e,e,UN,0,e,IF,IF,+,8,* \
AREA:cdefa#F5F800FF:"pe-1.LTN1 (ae3)" \
GPRINT:cdefb:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefe#ED7600FF:"pe-1.LHC1 (ae2)":STACK \
GPRINT:cdeff:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf%s\n" \
LINE3:cdefi#862F2FFF:"Total" \
GPRINT:cdefj:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefbb:MAX:"Maximum\:%8.2lf%s"
RRDTool Says:
OK
|
| Description: |
|
| Filesize: |
30.93 KB |
| Viewed: |
351 Time(s) |

|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Mon Aug 11, 2008 12:25 pm Post subject: |
|
|
Unfortunalety, this is a known bug, assigned to me. To avoid breaking existing graphs, the workaround is quite tricky and may still require some thinking
Reinhard
|
|
| Back to top |
|
 |
manaf Cacti User
Joined: 16 Apr 2006 Posts: 50
|
Posted: Fri Nov 14, 2008 7:27 am Post subject: |
|
|
| has anybody solve this bug!
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Fri Nov 14, 2008 1:13 pm Post subject: |
|
|
Yes, me. Will be part of 087c.
Reinhard
|
|
| Back to top |
|
 |
manaf Cacti User
Joined: 16 Apr 2006 Posts: 50
|
Posted: Fri Nov 14, 2008 5:37 pm Post subject: |
|
|
| gandalf wrote: | Yes, me. Will be part of 087c.
Reinhard |
gandalf,, when the 087c will be released??
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Sun Nov 16, 2008 1:37 pm Post subject: |
|
|
There's a BETA1 out there. But the bug fix was posted afterwards. To verify, please check out latest SVN; for testing purpose only
Reinhard
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|