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] [Created] (AMBARI-8375) AlertGroup REST Endpoint Should Return Alert Definition Source Type
Date Tue, 18 Nov 2014 18:56:34 GMT
Jonathan Hurley created AMBARI-8375:
---------------------------------------

             Summary: AlertGroup REST Endpoint Should Return Alert Definition Source Type
                 Key: AMBARI-8375
                 URL: https://issues.apache.org/jira/browse/AMBARI-8375
             Project: Ambari
          Issue Type: Task
          Components: alerts, ambari-server
    Affects Versions: 2.0.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
             Fix For: 2.0.0


Information about alert definitions should contain it's {{type}}.

{code:title="source_type" : "PORT" or "WEB" or "SCRIPT" or "METRIC"|borderStyle=solid}
http://localhost:8080/api/v1/clusters/c1/alert_groups?fields=*
     "AlertGroup" : {
        "cluster_name" : "c1",
        "default" : true,
        "definitions" : [
          {
            "name" : "ganglia_monitor_mapreduce_history_server",
            "label" : "Ganglia History Server Process Monitor",
            "enabled" : true,
            "service_name" : "GANGLIA",
            "component_name" : "GANGLIA_SERVER",
            "id" : 1,
            "source_type" : "PORT"
          },
...
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message