Jonathan Hurley created AMBARI-8514:
---------------------------------------
Summary: Alerts: Create A Global Alert Target For All Alert Groups
Key: AMBARI-8514
URL: https://issues.apache.org/jira/browse/AMBARI-8514
Project: Ambari
Issue Type: Bug
Components: alerts, ambari-server
Affects Versions: 2.0.0
Reporter: Jonathan Hurley
Assignee: Jonathan Hurley
Fix For: 2.0.0
Currently, there is no easy way to assign a single alert target to all of the
alert groups defined in the new alerts framework. The user will need to
manually associate each alert target with the existing alert groups.
Furthermore, new groups will not automatically be associated with any alert
targets in the system.
There should be the ability to specify that an alert target is a global
catch-all. Once created, the alert target will automatically be associated with
any existing and newly created alert groups.
The alert target will be denoted as being "global", making its associated
groups read-only since they will always include all of the groups defined in
the system.
This will also enable the web client to prompt the administrator during a
cluster install to define a global alert target that will begin working for
them immediately after the cluster install has completed.
To create a global alert target:
POST
{code:title=AlertTarget/global|borderStyle=solid}
{
"AlertTarget": {
"name": "Global Email",
"description": "Email for all triggered alerts.",
"global": true,
"notification_type": "EMAIL",
"properties":{
...
}
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)