[
https://issues.apache.org/jira/browse/AMBARI-6890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101047#comment-14101047
]
Jonathan Hurley commented on AMBARI-6890:
-----------------------------------------
Example of an {{AlertDefinitionCommand}} with no definitions for this host:
{code}
{
'alertDefinitionCommands':[
{
'alertDefinitions':[ ],
'clusterName':'c1',
'commandType':'ALERT_DEFINITION_COMMAND',
'hash':'37a6259cc0c1dae299a7866489dff0bd',
'hostName':'c6404.ambari.apache.org'
}
]
}
{code}
Note that {{37a6259cc0c1dae299a7866489dff0bd}} represnts the NULL MD5 hash.
> Alerts: Send Empty Alert Defintion With Hash To Agents
> ------------------------------------------------------
>
> Key: AMBARI-6890
> URL: https://issues.apache.org/jira/browse/AMBARI-6890
> Project: Ambari
> Issue Type: Task
> Affects Versions: 1.8.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Fix For: 1.8.0
>
>
> When all alerts for a given host have been removed, the NULL MD5 hash should
> be sent along with an empty array of definitions to each agent affected by
> the change.
--
This message was sent by Atlassian JIRA
(v6.2#6252)