Werk #4470: Event console: fixed incorrect event counting for timed-out and heartbeat events

Component Event Console
Title Event console: fixed incorrect event counting for timed-out and heartbeat events
Date Apr 18, 2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8p22 1.4.0b6 1.5.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The internal event counter of status_num_open_events (and others) was not correctly decreased for

  • events with timeouts, e.g. an event with a lifetime
  • events which expect something in a given interval

Since this event count never decreased, the limits specified in the global settings rule Limit amount of current events, were reached when the event console ran for a certain amount of time. A restart always fixed this problem, because these counts are calculated from scratch during startup.

To the list of all Werks