You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/10/06 23:59:38 UTC

[jira] [Commented] (AMBARI-7568) Alerts: An Alert Definition On Demand Execution

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

Hudson commented on AMBARI-7568:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #492 (See [https://builds.apache.org/job/Ambari-trunk-Commit/492/])
AMBARI-7568 - Alerts: An Alert Definition On Demand Execution (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=054745d06472ef74430f47f09e1c8881f9f9780a)
* ambari-server/src/main/resources/properties.json
* ambari-agent/src/main/python/ambari_agent/alerts/collector.py
* ambari-agent/src/test/python/ambari_agent/TestAlerts.py
* ambari-server/src/main/java/org/apache/ambari/server/agent/AlertExecutionCommand.java
* ambari-server/src/test/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostTest.java
* ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionHash.java
* ambari-agent/src/main/python/ambari_agent/Controller.py
* ambari-server/src/main/java/org/apache/ambari/server/agent/AgentCommand.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatResponse.java
* ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
* ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertDefinitionHashTest.java


> Alerts: An Alert Definition On Demand Execution
> -----------------------------------------------
>
>                 Key: AMBARI-7568
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7568
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-agent, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>
> An alert should be able to be scheduled for immediate execution. This is independent of its interval scheduling. The on-demand execution should not affect any existing job schedules on the agent for the definition.
> Alerts run outside of the realm of the normal request/task workflow. Therefore, in order to trigger an on-demand alert to run, the following command is used:
> {code}
> POST http://server/api/v1/clusters/{clusterName}/alert_definitions/{alertDefinitionId}?AlertDefinition/run_now=true
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)