You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2014/08/19 16:19:18 UTC

[jira] [Updated] (AMBARI-6915) Alerts: Change AlertDefinition to Support a Reporting Member

     [ 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)