You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/09/12 11:55:00 UTC

[jira] [Commented] (AMBARI-21922) Allow SERVER Type Alerts To Run For Any Service/Component

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

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

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8041 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8041/])
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=252e9898c7e68a94924f63549b45af528d15ad14])
* (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/services/AmbariServerAlertService.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)