Hy,
i added an snmp host with snmp interface query, added the interface traffic template and startet the polling script and got this :
snmp: 127.0.0.1:161, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 1867987517
ERROR: Duplicate DS name: traffic_in
snmp: 127.0.0.1:161, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1543354264
ERROR: Duplicate DS name: traffic_in
update /var/www/html/cacti/rra/localhost_traffic_in_37.rrd --template traffic_in:traffic_out N:1867987517:1543354264
ERROR: opening '/var/www/html/cacti/rra/localhost_traffic_in_37.rrd': No such file or directory
time: 1
is this a snmp problem or a configure mistake ??
thanxs a lot for helping
ERROR: Duplicate DS name: traffic_i
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Sun Apr 18, 2004 11:05 am
- Location: Austria
- Contact:
-
- Posts: 27
- Joined: Fri Jul 30, 2004 2:38 pm
I am experiencing this issue as well and I check where you specified and this is what I have:
But when running php in a terminal, I get ERROR: Duplicate DS Name: traffic_out, twice. It then proceeds to give me an error stating that it can't open the .rrd file because there is no such file
But when running php in a terminal, I get ERROR: Duplicate DS Name: traffic_out, twice. It then proceeds to give me an error stating that it can't open the .rrd file because there is no such file
- Attachments
-
- untitled2.png (8.49 KiB) Viewed 3367 times
-
- Posts: 27
- Joined: Fri Jul 30, 2004 2:38 pm
I don't think I am. I believe I dl'd the cacti RPM from your site. Should I go find one specific to RH9?
Update 8:43AM, I dbl checked and the RPM came from a RPM repository(DAG RPM Repository)
http://dag.wieers.com/packages/cacti/
Update 8:43AM, I dbl checked and the RPM came from a RPM repository(DAG RPM Repository)
http://dag.wieers.com/packages/cacti/
It shouldn't matter where you are getting your RPM. I asked about Debian specifically because a large number of Debian users seem to be experiencing this issue. If you take a look at bug#231 here:
http://bugs.cacti.net/bug_view_page.php?bug_id=0000231
This user is experiencing this same problem. In their case it looked like a certain configuration mistake was causing the problem. However I verified their steps (albeit incorrect) and it did not cause the said issue for me (only an extra broken graph).
Did you following a similar set of steps to create your traffic graph as the user that reported this bug? If so, perhaps we can find a pattern here...
Thanks for the help.
-Ian
http://bugs.cacti.net/bug_view_page.php?bug_id=0000231
This user is experiencing this same problem. In their case it looked like a certain configuration mistake was causing the problem. However I verified their steps (albeit incorrect) and it did not cause the said issue for me (only an extra broken graph).
Did you following a similar set of steps to create your traffic graph as the user that reported this bug? If so, perhaps we can find a pattern here...
Thanks for the help.
-Ian
-
- Posts: 27
- Joined: Fri Jul 30, 2004 2:38 pm
It appears as though there may have been a bug with the RPM. I am using Redhat 9 and used the cacti RPM from the DAG@Linux Repository. I used RPM to remove the package and dropped the database from MySQL. I then extracted the .tar from your site to the /var/www directory and renamed it cacti. I created a system user for cacti. I then followed the instructions for importing the default database and creating the mysql cacti user. Deleted the default localhost device and recreated it using SNMP and viola, I had my traffic statistics. Thank you very much for the reply and I hope I was able to assist in helping you resolve this issue
Who is online
Users browsing this forum: No registered users and 2 guests