Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Traffic RRD's Not Created: Duplicate Data Source Issue
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Sat Mar 12, 2005 12:58 pm    Post subject: Traffic RRD's Not Created: Duplicate Data Source Issue Reply with quote

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
Back to top
davidatdmv



Joined: 12 Apr 2005
Posts: 1

PostPosted: Tue Apr 12, 2005 9:57 am    Post subject: duplicate data source issue Reply with quote

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
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Tue Apr 12, 2005 4:14 pm    Post subject: Reply with quote

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
Back to top
can



Joined: 04 May 2005
Posts: 6
Location: Ukraine

PostPosted: Tue Jun 07, 2005 10:07 am    Post subject: Reply with quote

I have 0.9.6d also the problem or like the problem
Back to top
can



Joined: 04 May 2005
Posts: 6
Location: Ukraine

PostPosted: Wed Jun 08, 2005 4:17 am    Post subject: Reply with quote

I remove cacti 0.8.6d and install again - no the problem.
May be i do mistake action in previous installation?
Back to top
laradji



Joined: 10 May 2005
Posts: 9

PostPosted: Sun Sep 25, 2005 5:55 am    Post subject: Reply with quote

It s work for me thank you ,
Debian sarge .

You need to remake your device with bug after that .
Back to top
lkhanna



Joined: 16 Sep 2005
Posts: 17

PostPosted: Sat Oct 08, 2005 1:41 pm    Post subject: Re: Traffic RRD's Not Created: Duplicate Data Source Issue Reply with quote

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
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
Back to top
srossen



Joined: 13 Jun 2005
Posts: 12

PostPosted: Fri Oct 28, 2005 8:46 am    Post subject: Reply with quote

Just wanted to add (for those doing searches) I saw this on new install of 0.8.6g on FreeBSD installed via ports. Above instruction worked to fix the issue.
Back to top
FIacusso



Joined: 17 Jun 2005
Posts: 25

PostPosted: Fri Nov 18, 2005 1:01 pm    Post subject: Reply with quote

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


Hello,

I've been having this same issue... is there a process written up somewhere where I can go about this?

Thank you,

Fabiano
Back to top
philuxe



Joined: 07 Jan 2005
Posts: 23

PostPosted: Thu Jan 05, 2006 4:50 am    Post subject: Reply with quote

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_templates.php?action=template_edit&id=41&view_rrd=55

and

http://vupi-ser-net-01/cacti/data_templates.php?action=template_edit&id=41&view_rrd=304


how can I restore that ?
Back to top
philuxe



Joined: 07 Jan 2005
Posts: 23

PostPosted: Thu Jan 05, 2006 5:19 am    Post subject: Reply with quote

Now my grapg show same value for inbound and outboud.

Is there a way to restore that ?? I have massively used the search function, see a lot of issue like mine and no answer :/
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12205
Location: Muenster, Germany

PostPosted: Thu Jan 05, 2006 3:27 pm    Post subject: Reply with quote

Please select one of the failing graphs to show all 4 rra's displayed. Then you'll find a little wrench next to each graph. Select one of them to see the full rrdtool graph statement. Post this one, please
Reinhard
Back to top
america.net



Joined: 08 Jan 2007
Posts: 25

PostPosted: Thu Feb 15, 2007 10:20 am    Post subject: Re: Traffic RRD's Not Created: Duplicate Data Source Issue Reply with quote

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.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9671
Location: MI, USA

PostPosted: Fri Feb 16, 2007 4:57 pm    Post subject: Reply with quote

This issue is now resolved in the current version of Cacti.

TheWitness
Back to top
arlly88



Joined: 03 Nov 2007
Posts: 10
Location: Berkeley

PostPosted: Mon Nov 05, 2007 5:01 pm    Post subject: Traffic RRD's Not Created: Duplicate Data Source Issue Reply with quote

Can Any one tell me where can I find "Interface - Traffic" Data Template so that I can Look at it?

thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group