Hi everyone,
Here´s the scenario:
Fedora Core 3
PHP 4.3.9
cacti 0.8.6f
After creating a new graph I got the poller.php error
07/28/2005 01:31:52 PM - POLLER: Poller[0] CACTI2RRD: /bin/rrdtool create /var/www/html/admin/cacti/rra/localhost_bytes_22.rrd --step 300 DS:bytes:ABSOLUTE:600:0:U DS:bytes:ABSOLUTE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
ERROR: Duplicate DS name: bytes
07/28/2005 01:31:52 PM - POLLER: Poller[0] CACTI2RRD: /bin/rrdtool update /var/www/html/admin/cacti/rra/localhost_bytes_22.rrd --template bytes N:102266
ERROR: opening '/var/www/html/admin/cacti/rra/localhost_bytes_22.rrd': No such file or directory
Ok. After searching a while, found a suggestion that this could be caused by a duplicated entry when creating the rrd file. So tried manually creating the rrd file, removing the duplicated DS:bytes:ABSOLUTE:
/bin/rrdtool create /var/www/html/admin/cacti/rra/localhost_bytes_22.rrd --step 300 DS:bytes:ABSOLUTE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
And after that, poller.php returned no errors and the graph was created.
QUESTIONS:
1. Why this duplicated entry appeared? Is this a bug still unsolved?
2. Is there a way to resolve this without manually creating the rrd file each time?
3. In Graph Template section I see a duplicated Data Source on the Graph item fields. How can I remove this duplicated entries? Why I get duplicated entries?
Thanks for any comments
Duplicated Data Sources in Cacti 0.8.6f
Moderators: Developers, Moderators
Update
Update:
After checking a while I found that the Custom Data area in the Data template I´m using, had two tabs, like this:
| 1 bytes X | 2 bytes X |
I deleted one clicking on the X and now it seems to be working fine. But still the question remains, now with the form:
"Why did the custom data duplicated if I didn´t duplicate it?".
Thanks
After checking a while I found that the Custom Data area in the Data template I´m using, had two tabs, like this:
| 1 bytes X | 2 bytes X |
I deleted one clicking on the X and now it seems to be working fine. But still the question remains, now with the form:
"Why did the custom data duplicated if I didn´t duplicate it?".
Thanks
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's a validation issue that was supposed to be fixed in 0.8.6f. Thanks for the note.
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?
Who is online
Users browsing this forum: No registered users and 1 guest