glpi_monitoring icon indicating copy to clipboard operation
glpi_monitoring copied to clipboard

Lost data in serviceevents when updating components catalog rules

Open jeromeLB opened this issue 10 years ago • 1 comments

When you update rules in components catalog, all te records are deleted from glpi_plugin_monitoring_componentscatalogs_hosts, glpi_plugin_monitoring_services at least. plugin_monitoring_services_id in glpi_plugin_monitoring_serviceevents table are not modified with new ids. So all data in glpi_plugin_monitoring_serviceevents are not useable anymore.

jeromeLB avatar Jul 04 '14 10:07 jeromeLB

When services are simply relocated in another component catalog, or dynamic hosts rules are replayed, services identifier should not change ! If the couple hostname / service description is not changed, services_id must remain the same ...

mohierf avatar Jul 04 '14 11:07 mohierf