icinga2/lib
Julian Brost 39cee3538a Checkable: improve state notifications after suppression ends
This commit changes the Checkable notification suppression logic (notifications
are currently suppressed on the Checkable if it is unreachable, in a downtime,
or acknowledged) to that after the suppression reason ends, a state
notification is sent if and only if the first hard state after is different
from the last hard state from before. If the checkable is in a soft state after
the suppression ends, the notification is further suppressed until a hard state
is reached.

To achieve this behavior, a new attribute state_before_suppression is added to
Checkable. This attribute is set to the last hard state the first time either a
PROBLEM or a RECOVERY notification is suppressed. Compared to from before,
neither of these two flags in the suppressed_notification will ever be cleared
while the supression is still ongoing but only after the suppression ended and
the current state is compared with the old state stored in
state_before_suppression.
2022-03-03 14:25:23 +01:00
..
base Introduce IoEngine::YieldCurrentCoroutine() 2022-03-02 16:39:44 +01:00
checker Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006 2021-03-18 17:56:13 +01:00
cli Merge pull request #7874 from Icinga/feature/sd_notify-7329 2021-06-28 18:20:15 +02:00
compat Merge pull request #8447 from Icinga/feature/deprecated-relative-removal 2021-06-22 12:05:33 +02:00
config ConfigItem: Use atomic variables for notified and commited items count 2022-02-25 15:17:33 +01:00
db_ido IDO: use per-instance notification_id in history 2022-02-10 16:36:35 +01:00
db_ido_mysql Make MySQL schema version in full schema file and upgrade files consistent 2021-12-16 15:48:12 +01:00
db_ido_pgsql IDO PgSQL: always use regular string literals 2021-08-05 11:39:32 +02:00
icinga Checkable: improve state notifications after suppression ends 2022-03-03 14:25:23 +01:00
icingadb IcingaDB#Stop(): don't block shutdown, timeout instead 2022-03-02 16:39:44 +01:00
livestatus Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006 2021-03-18 17:56:13 +01:00
methods Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
mysql_shim account for adjusted interface of mysql8 (now utilizes c99 bools instead of my_bool labelled chars) 2019-04-29 00:18:15 +02:00
notification Merge pull request #9123 from Icinga/bugfix/icinga2-crashes-when-sending-notifications-8186 2022-01-19 11:48:40 +01:00
perfdata InfluxdbCommonWriter: use atomic_size_t to data buffer size from stats function 2022-01-03 12:24:26 +01:00
pgsql_shim Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
remote Adjust incosistent pki log messages (#8965) 2021-11-22 16:06:55 +01:00
CMakeLists.txt Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00