icinga2/lib/notification
Johannes Schmidt a9c139f5c5 Subtract inapplicable suppressed notifications at a later point
Without this commit, every time the NotificationTimerHandler runs it
will discard notifications that don't apply to the reason of the latest
check result. This is probably intended to clear outdated suppressed
notifications immediately when the TimePeriod resumes, but it also clears
out important ones (see the test case).

This commit fixes that by clearing out inapplicable notifications when
the timer runs the first time after the TimePeriod resumes. By that time
we can expect that no new suppressed notifications will be added and all
notifications that don't conflict with the last check-result can still be
run.

Fixes #10575
2025-11-03 15:39:39 +01:00
..
CMakeLists.txt Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
notificationcomponent.cpp Subtract inapplicable suppressed notifications at a later point 2025-11-03 15:39:39 +01:00
notificationcomponent.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
notificationcomponent.ti Merge pull request #6970 from Icinga/bugfix/perfdata-gaps 2019-02-26 15:38:15 +01:00