mirror of https://github.com/Icinga/icinga2.git
Check notification state filters for problems only, not for Custom, etc.
refs #5952
This commit is contained in:
parent
59b34846e8
commit
cc3651ed56
|
@ -323,8 +323,8 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ensure that recovery notifications are always sent, no state filter checks necessary */
|
/* Check state filters for problem notifications. Recovery notifications will be filtered away later. */
|
||||||
if (type != NotificationRecovery) {
|
if (type == NotificationProblem) {
|
||||||
Host::Ptr host;
|
Host::Ptr host;
|
||||||
Service::Ptr service;
|
Service::Ptr service;
|
||||||
tie(host, service) = GetHostService(checkable);
|
tie(host, service) = GetHostService(checkable);
|
||||||
|
|
Loading…
Reference in New Issue