Hi,<br>as I've been playing with the new 1.4b1 of the ndo databroker I noticed that the nagios_service_contacts and nagios_host_contacts are not properly "updated".<br><br>When ndo2db is updating the nagios_host_contacts table he does :
<br>INSERT INTO nagios_host_contacts SET instance_id='1', host_id='3', contact_object_id='34' ON DUPLICATE KEY UPDATE instance_id='1', host_id='3', contact_object_id='34';<br>
and then<br>INSERT INTO nagios_host_contacts SET instance_id='1', host_id='3', contact_object_id='41' ON DUPLICATE KEY UPDATE instance_id='1', host_id='3', contact_object_id='41';
<br><br>But the table structure states that only instance_id is a unique key therefore nagios_host_contacts contains only the latest entry and not any other host to contact information ...<br><br>So you need to change the nagios_host_contacts and nagios_service_contacts tables by adding them as unique keys.
<br><br>Sorry if this was already report ...<br><br>Seb.<br>