icinga2/lib/icinga
Julian Brost 51cd7e7b0b Take host state into account when sending suppressed notifications
Checkable::FireSuppressedNotifications() compares the time of the current
checkable with the last recovery time of parents to avoid notification right
after a parent recovered and before the current checkable was checked.

This commit makes this check also include to host if the checkable is a
service.  This makes the behavior consistent with the documentation that states
there is an implicit dependency on the host (which isn't realized as implicitly
generating a Dependency object unfortunately).
2022-04-19 16:13:15 +02:00
..
CMakeLists.txt Revert "Add NotificationResult class" 2020-01-07 14:26:09 +01:00
apiactions.cpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
apiactions.hpp Refactor GetSingleObjectByNameUsingPermissions 2020-07-07 15:45:58 +02:00
apievents.cpp ApiEvents: Implement new API event streams response 2021-01-11 14:59:48 +01:00
apievents.hpp ApiEvents: Implement new API event streams response 2021-01-11 14:59:48 +01:00
checkable-check.cpp Checkable: improve state notifications after suppression ends 2022-03-03 14:25:23 +01:00
checkable-comment.cpp Fix compiler warnings don't move local variables 2022-02-22 17:51:43 +01:00
checkable-dependency.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
checkable-downtime.cpp Set downtime trigger time deterministically 2021-12-08 14:15:50 +01:00
checkable-event.cpp Checkable#ExecuteEventHandler(): don't outsource event command run twice 2022-02-24 14:03:57 +01:00
checkable-flapping.cpp Flapping: Allow to ignore states in flapping calculation 2021-01-20 11:09:03 +01:00
checkable-notification.cpp Take host state into account when sending suppressed notifications 2022-04-19 16:13:15 +02:00
checkable-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkable.cpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
checkable.hpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
checkable.ti Checkable: improve state notifications after suppression ends 2022-03-03 14:25:23 +01:00
checkcommand.cpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
checkcommand.hpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
checkcommand.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkresult.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkresult.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkresult.ti IcingaDB#SendSentNotification(): make stream deterministic via CheckResult#previous_hard_state 2022-01-10 19:18:11 +01:00
cib.cpp Introduce Application::GetUptime() 2020-02-11 16:47:50 +01:00
cib.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
clusterevents-check.cpp Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006 2021-03-18 17:56:13 +01:00
clusterevents.cpp Checkable: sync state_before_suppression in cluster 2022-03-03 14:25:23 +01:00
clusterevents.hpp Checkable: sync state_before_suppression in cluster 2022-03-03 14:25:23 +01:00
command.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
command.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
command.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
comment.cpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
comment.hpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
comment.ti Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
compatutility.cpp git ls-files -z |xargs -0 perl -pi -e 's/RedisWriter/IcingaDB/g' 2019-11-02 14:00:24 +01:00
compatutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
customvarobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
customvarobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
customvarobject.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
dependency-apply.cpp Apply rules: import default templates first 2020-12-14 18:15:18 +01:00
dependency.cpp Tests: Add multi parent dependency test case 2020-02-11 15:13:25 +01:00
dependency.hpp Tests: Add multi parent dependency test case 2020-02-11 15:13:25 +01:00
dependency.ti dependency.ti: fix typo 2021-02-04 18:29:54 +01:00
downtime.cpp Merge pull request #9112 from Icinga/bugfix/sync-missing-history-information 2022-01-07 15:14:06 +01:00
downtime.hpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
downtime.ti Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
eventcommand.cpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
eventcommand.hpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
eventcommand.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
externalcommandprocessor.cpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
externalcommandprocessor.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
host.cpp Implement scheduling_source attribute (#6326) 2021-07-20 11:10:26 +02:00
host.hpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
host.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
hostgroup.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
hostgroup.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
hostgroup.ti mkclass: make .ti class members atomic if possible 2020-07-07 18:24:06 +02:00
i2-icinga.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icinga-itl.conf Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icingaapplication.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
icingaapplication.hpp Fix that MaxConcurrentChecks constant is overridden from 'checker' feature 2019-04-16 15:04:57 +02:00
icingaapplication.ti Merge pull request #6970 from Icinga/bugfix/perfdata-gaps 2019-02-26 15:38:15 +01:00
legacytimeperiod.cpp LegacyTimePeriod::ScriptFunc: fix DST edge-cases 2021-11-17 13:09:10 +01:00
legacytimeperiod.hpp LegacyTimePeriod: Prevent modification of input parameters 2021-07-22 15:17:06 +02:00
macroprocessor.cpp Merge branch 'master' into feature/v1-actions-execute-command-8034 2020-10-28 18:37:08 +01:00
macroprocessor.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
macroresolver.hpp Refactor MacroResolver::OverrideMacros 2020-07-03 15:53:51 +02:00
notification-apply.cpp Apply rules: import default templates first 2020-12-14 18:15:18 +01:00
notification.cpp Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
notification.hpp Revert "Add OnNewNotificationResult signal and ProcessNotificationResult handler" 2020-01-07 14:26:07 +01:00
notification.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
notificationcommand.cpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
notificationcommand.hpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
notificationcommand.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectutils.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectutils.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pluginutility.cpp PluginUtility::FormatPerfdata(): normalize UoMs if desired 2021-07-05 19:05:32 +02:00
pluginutility.hpp PluginUtility::FormatPerfdata(): normalize UoMs if desired 2021-07-05 19:05:32 +02:00
scheduleddowntime-apply.cpp Apply rules: import default templates first 2020-12-14 18:15:18 +01:00
scheduleddowntime.cpp On ScheduledDowntime change: remove future downtimes created before change 2021-07-02 10:37:29 +02:00
scheduleddowntime.hpp On ScheduledDowntime change: remove future downtimes created before change 2021-07-02 10:37:29 +02:00
scheduleddowntime.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
service-apply.cpp Apply rules: import default templates first 2020-12-14 18:15:18 +01:00
service.cpp Service#GetSeverity(): behave as the respective IDO query of Icinga Web 2022-01-27 12:21:06 +01:00
service.hpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
service.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
servicegroup.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
servicegroup.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
servicegroup.ti mkclass: make .ti class members atomic if possible 2020-07-07 18:24:06 +02:00
timeperiod.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
timeperiod.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
timeperiod.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
user.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
user.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
user.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
usergroup.cpp Add missing include to fix non-unity builds 2021-11-17 16:11:15 +01:00
usergroup.hpp Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
usergroup.ti mkclass: make .ti class members atomic if possible 2020-07-07 18:24:06 +02:00