[
https://issues.apache.org/jira/browse/AMBARI-8045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srimanth Gunturi updated AMBARI-8045:
-------------------------------------
Attachment: AMBARI-8045.patch
> Alerts UI: Create models for Alert-Instances
> --------------------------------------------
>
> Key: AMBARI-8045
> URL: https://issues.apache.org/jira/browse/AMBARI-8045
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 1.7.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 1.7.0
>
> Attachments: AMBARI-8045.patch
>
>
> Alerts UI needs to model Alert-Instances as a class.
> {{Alert-Instance}} class is:
> * id (number)
> * label (string)
> * alertDefinitionName (string)
> * serviceName (string)
> * componentName (string)
> * hostName (string)
> * scope (string) // 'ANY', 'SERVICE', 'HOST'
> * originalTimestamp (number)
> * latestTimestamp (number)
> * maintenanceState (string) // 'ON'/'OFF'
> * instance (string)
> * state (string) // "OK", "WARNING", "CRITICAL"
> * text (string) // eg, "TCP OK - 0.0000 response on port 50090"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)