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/11/18 19:56:34 UTC

[jira] [Created] (AMBARI-8375) AlertGroup REST Endpoint Should Return Alert Definition Source Type

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)