Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-8514

Alerts: Create A Global Alert Target For All Alert Groups

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: alerts, ambari-server
    • Labels:
      None

      Description

      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

      AlertTarget/global
      {
        "AlertTarget": {
          "name": "Global Email",
          "description": "Email for all triggered alerts.",
          "global": true,
          "notification_type": "EMAIL",
          "properties":{
             ...
          }    
        }
      

        Attachments

          Activity

            People

            • Assignee:
              jonathan.hurley Jonathan Hurley
              Reporter:
              jonathan.hurley Jonathan Hurley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: