Duplicate data accross mutiple graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
krash
Posts: 5
Joined: Wed Sep 20, 2006 2:31 pm

Duplicate data accross mutiple graphs

Post by krash »

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.
Attachments
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \<br />--imgformat=PNG \<br />--start=-86400 \<br />--end=-300 \<br />--title=&amp;quot;cc1r1sw4 - Traffic - Fa0/15&amp;quot; \<br />--rigid \<br />--base=1000 \<br />--height=120 \<br />--width=500 \<br />--alt-autoscale-max \<br />--lower-limit=0 \<br />--vertical-label
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title=&quot;cc1r1sw4 - Traffic - Fa0/15&quot; \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label
duplicate_data-1.png (65.75 KiB) Viewed 960 times
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \<br />--imgformat=PNG \<br />--start=-86400 \<br />--end=-300 \<br />--title=&amp;quot;cc1r6sw1 - Traffic - Fa0/7 R6U28&amp;quot; \<br />--rigid \<br />--base=1000 \<br />--height=120 \<br />--width=500 \<br />--alt-autoscale-max \<br />--lower-limit=0 \<br />--vertical-
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title=&quot;cc1r6sw1 - Traffic - Fa0/7 R6U28&quot; \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-
duplicate_data-2.png (78.93 KiB) Viewed 960 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Unfortunately, you've left out the DEF statements. What's the "Re-Index" Method defined for this target? Please re-index it by pressing the green circle next to the Data Query and retry. Last: Please check out latest cactid from Announcement forum
Reinhard
krash
Posts: 5
Joined: Wed Sep 20, 2006 2:31 pm

Post by krash »

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"
krash
Posts: 5
Joined: Wed Sep 20, 2006 2:31 pm

Post by krash »

I Installed spine 0.8.7a, but no luck.
The data is still duplicated across all switch ports.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The graph statements are fine. Now I need the lines from the poller cache for this very host
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests