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

Allow SERVER Type Alerts To Run For Any Service/Component

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0, 2.6.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      There is a type of alert known as a "SERVER" alert which is a Java class that runs inside of the Ambari Server. We use these alerts to check for specific issues with the Ambari Server itself.
      However, nothing should prevent a cluster's services from being able to define one of these. Consider the following case where we want a new server-side alert to run for the ZooKeeper Service which checks something specific that none of the agent-side alerts are appropriate for:

      {
        "ZOOKEEPER": {
          "service": [
            {
              "name": "Foo",
              "label": "Foo ZK Alert",
              "description": "Foo",
              "interval": 5,
              "scope": "SERVICE",
              "enabled": true,
              "source": {
                "type": "SERVER",
                "class": "org.apache.ambari.server.alerts.ZKFooChecker"
              }
            }
          ],
        ...
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amagyar Attila Magyar
                Reporter:
                amagyar Attila Magyar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: