mirror of https://github.com/Icinga/icinga2.git
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. |
||
---|---|---|
.. | ||
base | ||
checker | ||
cli | ||
compat | ||
config | ||
db_ido | ||
db_ido_mysql | ||
db_ido_pgsql | ||
icinga | ||
icingadb | ||
livestatus | ||
methods | ||
mysql_shim | ||
notification | ||
perfdata | ||
pgsql_shim | ||
remote | ||
CMakeLists.txt |