naemon / naemon-livestatus

Naemon - Livestatus Eventbroker Module
GNU General Public License v2.0
26 stars 30 forks source link

avoid Cannot delete non-existing downtime/comment error during startup #109

Closed sni closed 1 year ago

sni commented 1 year ago

During startup it is ok that some downtimes do not yet exists, for example if a host/service has been removed but still had downtimes. So start logging this as a info message after the eventloop has started.

Otherwise you get useless logs like this:

livestatus: Cannot delete non-existing downtime/comment 85687
livestatus: Cannot delete non-existing downtime/comment 85688
livestatus: Cannot delete non-existing downtime/comment 126640