I have been having this issue from some time now.
Basically, there is some duplicate data that shows up across all graphs that have a cable plugged into the switch port they are monitoring.
Cacti is monitoring all the ports on 14 cisco 2950's.
No matter what, even if there is very little traffic on a port, there is this phantom "background" traffic that shows up on the chart.
I have had this problem since at least cacti-0.8.6j.
Right now I am running cacti-0.8.7
When I was running 0.8.6j I tried using cactid & upgrading RRDtool, but no luck. The phantom traffic is still there.
I have attached some pics and the rrdtool command being used for each pic.
Any advice or suggestions would be greatly appreciated.
Duplicate data accross mutiple graphs
Moderators: Developers, Moderators
Duplicate data accross mutiple graphs
- Attachments
-
- /usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r1sw4 - Traffic - Fa0/15" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label - duplicate_data-1.png (65.75 KiB) Viewed 963 times
- /usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
-
- /usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r6sw1 - Traffic - Fa0/7 R6U28" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical- - duplicate_data-2.png (78.93 KiB) Viewed 963 times
- /usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
The Re-Index is set to "Uptime goes backwards"
I pressed the little green circle, and it gave me a "Success [209 Items, 26 Rows]"
I tried to compile the new spine, but it failed on the make install part. Right now I am using the cmd.php
Does the re-index method need to change?
I am going to give the new spine another try. If it fixes this issue, I will update here.
The comments cut off my DEF statements, so here they are:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r1sw4 - Traffic - Fa0/15" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_781.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_781.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 34.13 GB"
============================ Next Switch ===========================
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r1sw4 - Traffic - Fa0/16" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_782.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_782.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 39.33 MB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 34.22 GB"
============================================================================================
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r6sw1 - Traffic - Fa0/7 R6U28" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_359.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_359.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 6.13 MB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 28.41 GB"
============================================================================================
ConsoleGraphsthold Settings Tree ViewList ViewPreview View
Graphs -> Tree Mode -> cc1r6sw1 - Traffic - Fa0/8 R6U29 -> Properties Logged in as superadmin (Logout)
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r6sw1 - Traffic - Fa0/8 R6U29" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_360.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_360.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 6.15 MB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 28.42 GB"
I pressed the little green circle, and it gave me a "Success [209 Items, 26 Rows]"
I tried to compile the new spine, but it failed on the make install part. Right now I am using the cmd.php
Does the re-index method need to change?
I am going to give the new spine another try. If it fixes this issue, I will update here.
The comments cut off my DEF statements, so here they are:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r1sw4 - Traffic - Fa0/15" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_781.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_781.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 34.13 GB"
============================ Next Switch ===========================
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r1sw4 - Traffic - Fa0/16" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_782.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r1sw4_traffic_in_782.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 39.33 MB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 34.22 GB"
============================================================================================
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r6sw1 - Traffic - Fa0/7 R6U28" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_359.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_359.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 6.13 MB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 28.41 GB"
============================================================================================
ConsoleGraphsthold Settings Tree ViewList ViewPreview View
Graphs -> Tree Mode -> cc1r6sw1 - Traffic - Fa0/8 R6U29 -> Properties Logged in as superadmin (Logout)
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cc1r6sw1 - Traffic - Fa0/8 R6U29" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_360.rrd":traffic_in:AVERAGE \
DEF:b="/home/virtual/site3/fst/var/www/html/cacti-0.8.7/rra/cc1r6sw1_traffic_in_360.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 6.15 MB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 28.42 GB"
Who is online
Users browsing this forum: No registered users and 3 guests