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

Allow SERVER Type Alerts To Run For Any Service/Component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0, 2.6.0
    • ambari-server
    • 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

        1. AMBARI-21922.patch
          6 kB
          Attila Magyar

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: