icinga2/lib
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
..
base Merge pull request #9411 from Icinga/compiler-warnings 2025-10-21 15:23:31 +02:00
checker Merge pull request #10397 from Icinga/activation-priority-10179 2025-05-28 12:30:40 +02:00
cli Merge pull request #9729 from Icinga/fix-compiler-warnings-by-removing-unused-variables 2025-10-17 15:12:05 +02:00
compat Fix compiler warnings by removing unused variables 2025-10-17 09:56:46 +02:00
config Merge pull request #9411 from Icinga/compiler-warnings 2025-10-21 15:23:31 +02:00
db_ido Fix compiler warnings by removing unused variables 2025-10-17 09:56:46 +02:00
db_ido_mysql Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
db_ido_pgsql Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
icinga Merge pull request #9411 from Icinga/compiler-warnings 2025-10-21 15:23:31 +02:00
icingadb Merge pull request #9411 from Icinga/compiler-warnings 2025-10-21 15:23:31 +02:00
livestatus Fix compiler warnings by removing unused variables 2025-10-17 09:56:46 +02:00
methods Fix compiler warnings by removing unused variables 2025-10-17 09:56:46 +02:00
mysql_shim Silence compiler warnings in code we don't maintain 2025-01-14 11:48:33 +01:00
notification Subtract inapplicable suppressed notifications at a later point 2025-11-03 15:39:39 +01:00
perfdata Fix compiler warnings by removing unused variables 2025-10-17 09:56:46 +02:00
pgsql_shim Silence compiler warnings in code we don't maintain 2025-01-14 11:48:33 +01:00
remote Merge pull request #9729 from Icinga/fix-compiler-warnings-by-removing-unused-variables 2025-10-17 15:12:05 +02:00
CMakeLists.txt Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00