mirror of https://github.com/Icinga/icinga2.git
parent
510610741b
commit
5619498762
|
@ -109,6 +109,8 @@ void NotificationComponent::NotificationTimerHandler(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notification->SetLastProblemNotification(now);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Log(LogInformation, "notification", "Sending reminder notification for object '" + checkable->GetName() + "'");
|
Log(LogInformation, "notification", "Sending reminder notification for object '" + checkable->GetName() + "'");
|
||||||
notification->BeginExecuteNotification(NotificationProblem, checkable->GetLastCheckResult(), false);
|
notification->BeginExecuteNotification(NotificationProblem, checkable->GetLastCheckResult(), false);
|
||||||
|
|
|
@ -28,7 +28,6 @@ object NotificationCommand "mail-host-notification" {
|
||||||
"NOTIFICATIONAUTHORNAME" = "$notification.author$",
|
"NOTIFICATIONAUTHORNAME" = "$notification.author$",
|
||||||
"NOTIFICATIONCOMMENT" = "$notification.comment$",
|
"NOTIFICATIONCOMMENT" = "$notification.comment$",
|
||||||
"HOSTDISPLAYNAME" = "$host.display_name$",
|
"HOSTDISPLAYNAME" = "$host.display_name$",
|
||||||
"HOSTDISPLAYNAME" = "$host.display_name$",
|
|
||||||
"USEREMAIL" = "$user.email$"
|
"USEREMAIL" = "$user.email$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue