Traffic RRD's Not Created: Duplicate Data Source Issue
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Traffic RRD's Not Created: Duplicate Data Source Issue
Hello all,
If you have a version of Cacti before, 0.8.6c and you have problems creating interface graphs. The first thing that I would review would be the issue of the "Duplicate Data Source".
To verify you have this issue, you have to edit the "Interface - Traffic" Data Template and then see if you have multiple "traffic_in" and "traffic_out" data sources.
If so, you need to delete all but those with ID's 54 and 55. To verify the ID's of the Data Source items, you need to hold your mouse cursor over the items. While doing so, look at the Status Bar at the bottom of your browser. If it's not turned on, do so first. There, you will see an HTML string that will include something like "http://...id=54".
Again, you will delete all but ID's 54 and 55.
Regards,
TheWitness
If you have a version of Cacti before, 0.8.6c and you have problems creating interface graphs. The first thing that I would review would be the issue of the "Duplicate Data Source".
To verify you have this issue, you have to edit the "Interface - Traffic" Data Template and then see if you have multiple "traffic_in" and "traffic_out" data sources.
If so, you need to delete all but those with ID's 54 and 55. To verify the ID's of the Data Source items, you need to hold your mouse cursor over the items. While doing so, look at the Status Bar at the bottom of your browser. If it's not turned on, do so first. There, you will see an HTML string that will include something like "http://...id=54".
Again, you will delete all but ID's 54 and 55.
Regards,
TheWitness
Last edited by TheWitness on Sat Jul 10, 2010 6:11 am, edited 1 time in total.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 1
- Joined: Tue Apr 12, 2005 9:46 am
duplicate data source issue
I removed my duplicate datasources before having read your post. I'm not sure I left id's 54 and 55. I am sure I did leave both a traffic_in and a traffic_out.
Since then, all my graphs lost their out bound data source association in 'graph managment' -> graph name . a quick look at 'data templates' -> 'interface traffic' showed a missing traffic_out tab?? I created traffic_out but need to re-associate all the out datasources to the correct graphs....
Here is the question: Can I do this via sql? I really would like to avoid clicking on every graph and selecting the outbound datasource as I have a lot of graphs.
Thank you in advance!
-DA
Since then, all my graphs lost their out bound data source association in 'graph managment' -> graph name . a quick look at 'data templates' -> 'interface traffic' showed a missing traffic_out tab?? I created traffic_out but need to re-associate all the out datasources to the correct graphs....
Here is the question: Can I do this via sql? I really would like to avoid clicking on every graph and selecting the outbound datasource as I have a lot of graphs.
Thank you in advance!
-DA
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Was there and unfortunately, I never reached that point. To recreate the template, you simply build a base cacti in aonther database and then point your config.php to it, export the damaged template and re-import into your production cacti.
The problem is, your hosts may be screwed at this point. I would only be able to offer professional services at this point, since it may take quite a bit of time.
TheWitness
The problem is, your hosts may be screwed at this point. I would only be able to offer professional services at this point, since it may take quite a bit of time.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Traffic RRD's Not Created: Duplicate Data Source Issue
Hi
I recently upgraded my cacti to 0.8.6f version. I noticed all my graphs are working fine for all those devices which i created before upgrade. But now when i am trying to add a new device, i don't see any usage in graph. I am trying to poll one of my cisco interface.
I did look into Interface Data template and found lot of Traffic_in an traffic_out. One of traffic_in is having id 54 but i don't have traffic_out with id 54 or 55. What should i do in this case? You think it is beause of data template ony or something else.
I can see usage graph of those interfaces which i added before upgrade but not new usage of those interfaces which I am trying to add now.
Thanks - Lokesh
I recently upgraded my cacti to 0.8.6f version. I noticed all my graphs are working fine for all those devices which i created before upgrade. But now when i am trying to add a new device, i don't see any usage in graph. I am trying to poll one of my cisco interface.
I did look into Interface Data template and found lot of Traffic_in an traffic_out. One of traffic_in is having id 54 but i don't have traffic_out with id 54 or 55. What should i do in this case? You think it is beause of data template ony or something else.
I can see usage graph of those interfaces which i added before upgrade but not new usage of those interfaces which I am trying to add now.
Thanks - Lokesh
TheWitness wrote:Hello all,
If you have a version of Cacti before, 0.8.6c and you have problems creating interface graphs. The first thing that I would review would be the issue of the "Duplicate Data Source".
To verify you have this issue, you have to edit the "Interface - Traffic" Data Template and then see if you have multiple "traffic_in" and "traffic_out" data sources.
If so, you need to delete all but those with ID's 54 and 55. To verify the ID's of the Data Source items, you need to hold your mouse cursor over the items. While doing so, look at the Status Bar at the bottom of your browser. If it's not turned on, do so first. There, you will see an HTML string that will include something like "http://...id=54".
Again, you will delete all but ID's 54 and 55.
Regards,
TheWitness
Hello,TheWitness wrote:Was there and unfortunately, I never reached that point. To recreate the template, you simply build a base cacti in aonther database and then point your config.php to it, export the damaged template and re-import into your production cacti.
The problem is, your hosts may be screwed at this point. I would only be able to offer professional services at this point, since it may take quite a bit of time.
TheWitness
I've been having this same issue... is there a process written up somewhere where I can go about this?
Thank you,
Fabiano
Hi
I still have the issue even after upgrading to the last version. Before the upgrade I read the sticky to check if I had duplicate DS entries and I had.
So I began to suppress the 54 and 54 leaving the two thers.
But I dont why but now I have two entries with the same name : traffic_out. Here the link they point to :
http://vupi-ser-net-01/cacti/data_templ ... iew_rrd=55
and
http://vupi-ser-net-01/cacti/data_templ ... ew_rrd=304
how can I restore that ?
I still have the issue even after upgrading to the last version. Before the upgrade I read the sticky to check if I had duplicate DS entries and I had.
So I began to suppress the 54 and 54 leaving the two thers.
But I dont why but now I have two entries with the same name : traffic_out. Here the link they point to :
http://vupi-ser-net-01/cacti/data_templ ... iew_rrd=55
and
http://vupi-ser-net-01/cacti/data_templ ... ew_rrd=304
how can I restore that ?
-
- Posts: 25
- Joined: Mon Jan 08, 2007 3:47 pm
Re: Traffic RRD's Not Created: Duplicate Data Source Issue
TheWitness wrote:Hello all,
If you have a version of Cacti before, 0.8.6c and you have problems creating interface graphs. The first thing that I would review would be the issue of the "Duplicate Data Source".
To verify you have this issue, you have to edit the "Interface - Traffic" Data Template and then see if you have multiple "traffic_in" and "traffic_out" data sources.
If so, you need to delete all but those with ID's 54 and 55. To verify the ID's of the Data Source items, you need to hold your mouse cursor over the items. While doing so, look at the Status Bar at the bottom of your browser. If it's not turned on, do so first. There, you will see an HTML string that will include something like "http://...id=54".
Again, you will delete all but ID's 54 and 55.
Regards,
TheWitness
I was having the same prob. This was the fix.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This issue is now resolved in the current version of Cacti.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Traffic RRD's Not Created: Duplicate Data Source Issue
I have the problem of no traffic graph.
Here is my RRDTool Graph Statment. Can anyone look at it and tell me what problem I have?
thanks
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1194298323 \
--end=1194300123 \
--title="B-tech-Summit24e3 - Traffic - 1/25" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2007/11/05 13\:32\:03 To 2007/11/05 14\:02\:03\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/Cacti/rra/b-tech-summit24e3_traffic_in_17.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/Cacti/rra/b-tech-summit24e3_traffic_in_17.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=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\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
Here is my RRDTool Graph Statment. Can anyone look at it and tell me what problem I have?
thanks
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1194298323 \
--end=1194300123 \
--title="B-tech-Summit24e3 - Traffic - 1/25" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2007/11/05 13\:32\:03 To 2007/11/05 14\:02\:03\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/Cacti/rra/b-tech-summit24e3_traffic_in_17.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/Cacti/rra/b-tech-summit24e3_traffic_in_17.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=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\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
Who is online
Users browsing this forum: No registered users and 0 guests