Jonathan Hurley created AMBARI-7568:
---------------------------------------
Summary: 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)