Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have upgraded from cactid-0.8.6g-pre-beta-win32 to cactid-0.8.6g. Now the following messages (lots of them) appear on the cmd window doing the 5 minutes-poll.
...
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-5:12' for key 1'
02/16/2006 01:30:09 PM - CACTID: Poller[0] Host[14] DS[105] WARNING: Result from SCRIPT not valid. Partial Result: ...
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
02/16/2006 01:30:11 PM - CACTID: Poller[0] ERROR: Problem with MySQL: 'Duplicate entry '0-1-17:12' for key 1'
...
The rrd files are updated and the graphs are shown, so everything seems to run ok, but these ERROR messages are at least suspecting. What do they mean? How can I get rid of them?
My config:
* Windows 2003 SP1 + IIS 6.0
* PHP Version 5.1.1
* cacti-0.8.6h
* cactid-0.8.6g
* MySQL 5.0.17-nt
mysqlcheck --auto-repair --databases cacti
cacti.cdef OK
cacti.cdef_items OK
cacti.colors OK
cacti.data_input OK
cacti.data_input_data OK
cacti.data_input_fields OK
cacti.data_local OK
cacti.data_template OK
cacti.data_template_data OK
cacti.data_template_data_rra OK
cacti.data_template_rrd OK
cacti.graph_local OK
cacti.graph_template_input OK
cacti.graph_template_input_defs OK
cacti.graph_templates OK
cacti.graph_templates_gprint OK
cacti.graph_templates_graph OK
cacti.graph_templates_item OK
cacti.graph_tree OK
cacti.graph_tree_items OK
cacti.host OK
cacti.host_graph OK
cacti.host_snmp_cache OK
cacti.host_snmp_query OK
cacti.host_template OK
cacti.host_template_graph OK
cacti.host_template_snmp_query OK
cacti.poller OK
cacti.poller_command OK
cacti.poller_item OK
cacti.poller_output OK
cacti.poller_reindex OK
cacti.poller_time OK
cacti.rra OK
cacti.rra_cf OK
cacti.settings OK
cacti.settings_graphs OK
cacti.settings_tree OK
cacti.snmp_query OK
cacti.snmp_query_graph OK
cacti.snmp_query_graph_rrd OK
cacti.snmp_query_graph_rrd_sv OK
cacti.snmp_query_graph_sv OK
cacti.user_auth OK
cacti.user_auth_perms OK
cacti.user_auth_realm OK
cacti.user_log OK
cacti.version OK
Well it looks like swapping to cmd.php and back to cactid fixed the problem except for this host. Interestingly enough I didn't have the same problem with the previous version of cactid.
I'm seeing this same behavior. Unfortunately for me, switching to cmd.php and back to cactid doesn't resolve the issue.
In addition to seeing over 1,200 'Duplicate entry' errors per polling cycle with cactid, I'm also seeing Recache Events. I didn't see those while running cmd.php, either.
These duplicate entries should be eliminated after the second poll with Cactid. For some reason, when switching between cmd.php and cactid, the duplicate entries appear, but should only appear for 1 polling cycle.
The reason that they appear is part of the recaching. In addition, prior to Cactid 0.8.6g, the recaching method was broken for some reason. Therefore, the update to 0.8.6g will show these for the first time.
In addition, if the error's don't go away, there is a bug in some hosts where the sysUptime stops updating after some period of time. This causes a recache for every polling cycle.
I have prepared a patch to ignore this situation and it is due to release shortly as Cactid 0.8.6h.
TheWitness
True understanding begins only when we realize how little we truly understand...
Well, these errors certainly don't go away after one polling cycle. In fact, If I leave Cactid running, I see nearly 1,200 of these messages EACH polling cycle. I will take a look to see if sysUptime is staying static, but I suspect that's probably not the case for such a huge number of hosts.
In the meantime, I'll continue to use cmd.php and anxiously await Cactid 0.8.6h. Any beta version that I could help you test?
This problem has been corrected in SVN. If you are interested, please check out the source files and compile. We should be releasing soon. I have asked to possibly include one additional change, but it's fairly minor.
Note: BRANCH_0_8_6
TheWitness
True understanding begins only when we realize how little we truly understand...