Change in ovirt-engine[master]: Notification service should send a notification when Databas...

yzaslavs at redhat.com yzaslavs at redhat.com
Sun Jun 23 06:10:31 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: Notification service should send a notification when Database is down.
......................................................................


Notification service should send a notification when Database is down.

Send a notification email after first failure to fetch notifications,
and then once every failedQueriesNotificationThreshold times (new conf parameter).

The recipients is also a conf value, FAILED_QUERIES_NOTIFICATION_RECIPIENTS.
A comma seperated email list is expected.
If it is empty no notifications are sent on db connection failure.

Change-Id: Id0d36b6140846bf98a33064cc69a9a398a8d4128
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=971324
Signed-off-by: Mooli Tayer <mtayer at redhat.com>
---
M backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
M backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java
M packaging/conf/notifier.conf.defaults.in
3 files changed, 85 insertions(+), 2 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/15768
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id0d36b6140846bf98a33064cc69a9a398a8d4128
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <mtayer at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list