ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-6915) Alerts: Change AlertDefinition to Support a Reporting Member
Date Tue, 19 Aug 2014 14:19:18 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hurley updated AMBARI-6915:
------------------------------------

    Description: 
AlertDefinitions need to change slightly to allow an object-ified "reporting" structure.

{code}
    {
      "name": "namenode_cpu",
      "label": "NameNode host CPU Utilization",
      "scope": "host",
      "source": {
        "type": "METRIC",
        "jmx": "java.lang:type=OperatingSystem/SystemCpuLoad",
        "host": "{{hdfs-site/dfs.namenode.secondary.http-address}}",
        "reporting": {
          "ok": {
            "text": "System CPU Load is OK"
          },
          "warning": {
            "text": "System CPU Load is Nearing Critical",
            "value": 70
          },          
          "critical": {
            "text": "System CPU Load is Critical",
            "value": 80
          }
        }
      }
    }
{code}

  was:AlertDefinitions need to change slightly to allow an object-ified "reporting" structure.


> Alerts: Change AlertDefinition to Support a Reporting Member
> ------------------------------------------------------------
>
>                 Key: AMBARI-6915
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6915
>             Project: Ambari
>          Issue Type: Task
>    Affects Versions: 1.8.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 1.8.0
>
>
> AlertDefinitions need to change slightly to allow an object-ified "reporting" structure.
> {code}
>     {
>       "name": "namenode_cpu",
>       "label": "NameNode host CPU Utilization",
>       "scope": "host",
>       "source": {
>         "type": "METRIC",
>         "jmx": "java.lang:type=OperatingSystem/SystemCpuLoad",
>         "host": "{{hdfs-site/dfs.namenode.secondary.http-address}}",
>         "reporting": {
>           "ok": {
>             "text": "System CPU Load is OK"
>           },
>           "warning": {
>             "text": "System CPU Load is Nearing Critical",
>             "value": 70
>           },          
>           "critical": {
>             "text": "System CPU Load is Critical",
>             "value": 80
>           }
>         }
>       }
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message