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 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
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.