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

Alert Targets Should Be Allowed To Be Disabled Without Deleting Them

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • None
    • None

    Description

      Alert targets cannot currently be disabled. In order to temporarily stop alerts, the following actions are required:

      • Deleting the alert target
      • Removing all states from an alert target
      • Changing the properties of an alert target to make it invalid
      • Placing the entire cluster into Maintenance Mode

      In each case, the state of the system is being changed to achieve a side-effect.

      Alert targets should support being disabled as a first class action.

      PUT api/v1/alert_targets/1
      {
        "AlertTarget": {
          "enabled": false
        }
      }
      

      Attachments

        1. AMBARI-16277.patch
          24 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: