[ 
https://issues.apache.org/jira/browse/AMBARI-21922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162942#comment-16162942
 ] 

Hudson commented on AMBARI-21922:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #195 (See 
[https://builds.apache.org/job/Ambari-branch-2.6/195/])
AMBARI-21922. Allow SERVER Type Alerts To Run For Any Service/Component 
(amagyar: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1a44c51db62b6d806e9d5e6c25353d828ac27edd])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/state/services/AmbariServerAlertService.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAO.java


> Allow SERVER Type Alerts To Run For Any Service/Component
> ---------------------------------------------------------
>
>                 Key: AMBARI-21922
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21922
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>             Fix For: 3.0.0, 2.6.0
>
>         Attachments: AMBARI-21922.patch
>
>
> 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:
> {code}
> {
>   "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"
>         }
>       }
>     ],
>   ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to