Bug 971324 - PRD33 - notification service - should send an email if db is down
Summary: PRD33 - notification service - should send an email if db is down
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-notification-service
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Mooli Tayer
QA Contact: Ilanit Stein
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-06 09:29 UTC by Itamar Heim
Modified: 2016-02-10 19:37 UTC (History)
11 users (show)

Fixed In Version: is3
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:
mtayer: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 15768 0 None None None Never

Description Itamar Heim 2013-06-06 09:29:28 UTC
today if the db is down (local or remote), the notification service can't send an alert.
a general alert, similar to "engine is down" scenario should be sent.
difference is we don't have the db, so need in the config a new parameter for list of email addresses to send notification on "db is down".
probably after X retries, every Y minutes.

Comment 1 Ilanit Stein 2013-07-17 07:37:49 UTC
Verified on is5,

As long as DB is down, endless "db down" notification are sent.
Is this intentionally, or doed it need to be fixed to be only a single notification?

Comment 2 Mooli Tayer 2013-07-17 09:03:04 UTC
It is intentional in the default configuration.

along with FAILED_QUERIES_NOTIFICATION_RECIPIENTS which defines where emails should be sent, another configuration parameter was defined:
FAILED_QUERIES_NOTIFICATION_THRESHOLD. from the conf file documentation: 

# Send a notification email after first failure to fetch notifications,
# and then once every failedQueriesNotificationThreshold times.
# 0 or 1 means notify on each failure.

The default value is 30. together with the default value for INTERVAL_IN_SECONDS (120) we will get one message every hour in the default configuration(!).

Ilanit, I see we have the docs_scoped flag as '?' does it mean the appropriate person will check if this feature (specifically the parameters) should be documented?

Comment 3 Itamar Heim 2014-01-21 22:32:38 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:32:41 UTC
Closing - RHEV 3.3 Released


Note You need to log in before you can comment on or make changes to this bug.