ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject ambari git commit: AMBARI-9035. Alerts UI: Include the response text in the service alerts dialog.(xiwang)
Date Thu, 08 Jan 2015 22:27:57 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 818d1afad -> b0a237978


AMBARI-9035. Alerts UI: Include the response text in the service alerts dialog.(xiwang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b0a23797
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b0a23797
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b0a23797

Branch: refs/heads/trunk
Commit: b0a23797807f4ecf83f610bf100347a130ad0839
Parents: 818d1af
Author: Xi Wang <xiwang@apache.org>
Authored: Wed Jan 7 17:43:08 2015 -0800
Committer: Xi Wang <xiwang@apache.org>
Committed: Thu Jan 8 14:16:13 2015 -0800

----------------------------------------------------------------------
 .../app/assets/data/alerts/alert_summary.json   | 1955 +++++++++++-------
 .../mappers/alert_definition_summary_mapper.js  |    3 +
 ambari-web/app/models/alert_definition.js       |   11 +
 ambari-web/app/models/alert_instance.js         |    8 -
 ambari-web/app/styles/alerts.less               |   12 +
 .../common/modal_popups/alerts_popup.hbs        |    2 +-
 .../main/service/info/service_alert_popup.hbs   |    9 +-
 .../alert_definition_summary_mapper_test.js     |   28 +-
 ambari-web/test/models/alert_instance_test.js   |   29 -
 9 files changed, 1298 insertions(+), 759 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/assets/data/alerts/alert_summary.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/alerts/alert_summary.json b/ambari-web/app/assets/data/alerts/alert_summary.json
index e76e04c..bbc8308 100644
--- a/ambari-web/app/assets/data/alerts/alert_summary.json
+++ b/ambari-web/app/assets/data/alerts/alert_summary.json
@@ -1,835 +1,1380 @@
 {
   "href": "http://host:8080/api/v1/clusters/tdk/alerts?format=groupedSummary",
-  "alerts_summary_grouped": [
+  "alerts_summary_grouped" : [
     {
-      "definition_id": 10,
-      "definition_name": "ganglia_monitor_mapreduce_history_server",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285093
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 39,
+      "definition_name" : "yarn_resourcemanager_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 1420679098791,
+          "maintenance_count" : 1,
+          "latest_text" : "Connection failed to http://c6408.ambari.apache.org:8088"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 1,
-      "definition_name": "yarn_resourcemanager_webui",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397471466
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 9,
+      "definition_name" : "hive_metastore_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673051294,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 9083"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 19,
-      "definition_name": "mapreduce_history_server_process",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397465241
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 35,
+      "definition_name" : "mapreduce_history_server_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673231360,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 19888"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 26,
-      "definition_name": "namenode_rpc_latency",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285482
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 51,
+      "definition_name" : "storm_server_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673291457,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 8744"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 2,
-      "definition_name": "namenode_webui",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285443
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 20,
+      "definition_name" : "namenode_rpc_latency",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673074138,
+          "maintenance_count" : 1,
+          "latest_text" : "Average Queue Time:[1.0], Average Processing Time:[0.0]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 15,
-      "definition_name": "yarn_app_timeline_server_webui",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397350207
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 22,
+      "definition_name" : "namenode_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673074107,
+          "maintenance_count" : 1,
+          "latest_text" : "HTTP 200 response in 0.000 seconds"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 5,
-      "definition_name": "namenode_last_checkpoint",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285530
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 40,
+      "definition_name" : "yarn_app_timeline_server_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 1420679098808,
+          "maintenance_count" : 1,
+          "latest_text" : "Connection failed to http://c6408.ambari.apache.org:8188"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 24,
-      "definition_name": "datanode_storage",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285587
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 31,
+      "definition_name" : "datanode_storage",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420673157952,
+          "maintenance_count" : 0,
+          "latest_text" : "Remaining Capacity:[493093068800], Total Capacity:[0% Used, 524208947200]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 14,
-      "definition_name": "yarn_nodemanager_webui",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397531030
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 32,
+      "definition_name" : "datanode_storage_percent",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420673283414,
+          "maintenance_count" : 0,
+          "latest_text" : "affected: [0], total: [1]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 27,
-      "definition_name": "datanode_storage_percent",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397300122
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 55,
+      "definition_name" : "oozie_server_status",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673534348,
+          "maintenance_count" : 1,
+          "latest_text" : "Oozie check success"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 16,
-      "definition_name": "ganglia_monitor_yarn_resourcemanager",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285097
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 12,
+      "definition_name" : "ganglia_monitor_yarn_resourcemanager",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673051311,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 8664"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 18,
-      "definition_name": "mapreduce_history_server_webui",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397471999
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 34,
+      "definition_name" : "mapreduce_history_server_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673238908,
+          "maintenance_count" : 1,
+          "latest_text" : "HTTP 200 response in 0.000 seconds"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 21,
-      "definition_name": "zookeeper_server_process_percent",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397300320
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 45,
+      "definition_name" : "storm_drpc_server",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673171371,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 3772"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 9,
-      "definition_name": "secondary_namenode_process",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397465287
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 7,
+      "definition_name" : "zookeeper_server_process_percent",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420677095267,
+          "maintenance_count" : 0,
+          "latest_text" : "affected: [0], total: [3]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 4,
-      "definition_name": "datanode_webui",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285439
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 48,
+      "definition_name" : "storm_nimbus_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 1420676951374,
+          "maintenance_count" : 1,
+          "latest_text" : "Connection failed: [Errno 111] Connection refused to c6408.ambari.apache.org:6627"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 32,
-      "definition_name": "yarn_resourcemanager_cpu",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397645425
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 42,
+      "definition_name" : "yarn_resourcemanager_cpu",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 1420679338815,
+          "maintenance_count" : 1,
+          "latest_text" : "<urlopen error [Errno 111] Connection refused>"
         }
       }
     },
     {
-      "definition_id": 29,
-      "definition_name": "namenode_cpu",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397345252
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 19,
+      "definition_name" : "namenode_cpu",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673133996,
+          "maintenance_count" : 1,
+          "latest_text" : "1 CPU, load 5.6%"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 30,
-      "definition_name": "mapreduce_history_server_rpc_latency",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397645512
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 36,
+      "definition_name" : "mapreduce_history_server_rpc_latency",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673291603,
+          "maintenance_count" : 1,
+          "latest_text" : "Average Queue Time:[0.0], Average Processing Time:[0.0]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 6,
-      "definition_name": "ganglia_monitor_hbase_master",
-      "summary": {
-        "OK": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397105073
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 3,
+      "definition_name" : "hbase_regionserver_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 1,
+          "original_timestamp" : 1420753810619,
+          "maintenance_count" : 0,
+          "latest_text" : "Connection failed: [Errno 111] Connection refused to c6409.ambari.apache.org:60030"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 23,
-      "definition_name": "namenode_hdfs_blocks_health",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285485
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 38,
+      "definition_name" : "yarn_resourcemanager_rpc_latency",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 1420679338792,
+          "maintenance_count" : 1,
+          "latest_text" : "<urlopen error [Errno 111] Connection refused>"
         }
       }
     },
     {
-      "definition_id": 31,
-      "definition_name": "yarn_resourcemanager_rpc_latency",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397645406
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 46,
+      "definition_name" : "storm_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673292323,
+          "maintenance_count" : 1,
+          "latest_text" : "HTTP 200 response in 0.000 seconds"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 13,
-      "definition_name": "zookeeper_server_process",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285083
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 13,
+      "definition_name" : "ganglia_monitor_hdfs_namenode",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673051315,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 8661"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 7,
-      "definition_name": "datanode_process",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285159
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 5,
+      "definition_name" : "flume_agent_status",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420672497948,
+          "maintenance_count" : 0,
+          "latest_text" : "No agents defined on c6409.ambari.apache.org"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 20,
-      "definition_name": "datanode_process_percent",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397300169
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 15,
+      "definition_name" : "ganglia_server_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673051329,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 8651"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 11,
-      "definition_name": "namenode_process",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285181
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 11,
+      "definition_name" : "ganglia_monitor_mapreduce_history_server",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673051304,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 8666"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 8,
-      "definition_name": "ganglia_monitor_hdfs_namenode",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285108
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 10,
+      "definition_name" : "hive_server_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673476206,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 2.3831 response on port 10000"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 25,
-      "definition_name": "namenode_hdfs_capacity_utilization",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285491
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 52,
+      "definition_name" : "falcon_server_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673711755,
+          "maintenance_count" : 1,
+          "latest_text" : "HTTP 200 response in 0.000 seconds"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 22,
-      "definition_name": "yarn_nodemanager_webui_percent",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397541852
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 54,
+      "definition_name" : "oozie_server_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673538424,
+          "maintenance_count" : 1,
+          "latest_text" : "HTTP 200 response in 0.000 seconds"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 3,
-      "definition_name": "namenode_directory_status",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285527
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 56,
+      "definition_name" : "ambari_agent_disk_usage",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420672251762,
+          "maintenance_count" : 3,
+          "latest_text" : "Capacity Used: [0.58%, 3.0 GB], Capacity Total: [525.3 GB]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 17,
-      "definition_name": "yarn_nodemanager_health",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397530178
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 27,
+      "definition_name" : "namenode_last_checkpoint",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673074183,
+          "maintenance_count" : 1,
+          "latest_text" : "Last Checkpoint: [22 hours, 43 minutes, 4731 transactions]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 12,
-      "definition_name": "ganglia_server_process",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397285115
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 50,
+      "definition_name" : "storm_supervisor_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 1,
+          "original_timestamp" : 1420676937923,
+          "maintenance_count" : 0,
+          "latest_text" : "Connection failed: [Errno 111] Connection refused to c6409.ambari.apache.org:56431"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     },
     {
-      "definition_id": 28,
-      "definition_name": "mapreduce_history_server_cpu",
-      "summary": {
-        "OK": {
-          "count": 1,
-          "maintenance_count": 0,
-          "original_timestamp": 1416397645535
-        },
-        "WARNING": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "CRITICAL": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
-        },
-        "UNKNOWN": {
-          "count": 0,
-          "maintenance_count": 0,
-          "original_timestamp": 0
+      "definition_id" : 44,
+      "definition_name" : "yarn_nodemanager_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 1,
+          "original_timestamp" : 1420679100233,
+          "maintenance_count" : 0,
+          "latest_text" : "Connection failed to http://c6409.ambari.apache.org:8042"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 4,
+      "definition_name" : "hbase_master_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 1420676133965,
+          "maintenance_count" : 1,
+          "latest_text" : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 16,
+      "definition_name" : "secondary_namenode_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673291332,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 50090"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 8,
+      "definition_name" : "hive_webhcat_server_status",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673892709,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.0030 response on port 50111"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 18,
+      "definition_name" : "datanode_webui",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420673038154,
+          "maintenance_count" : 0,
+          "latest_text" : "HTTP 200 response in 0.000 seconds"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 1,
+      "definition_name" : "hbase_master_cpu",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 1420676133969,
+          "maintenance_count" : 1,
+          "latest_text" : "<urlopen error [Errno 111] Connection refused>"
+        }
+      }
+    },
+    {
+      "definition_id" : 53,
+      "definition_name" : "falcon_server_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673711487,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 15000"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 2,
+      "definition_name" : "hbase_regionserver_process_percent",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 1,
+          "original_timestamp" : 1420753879844,
+          "maintenance_count" : 0,
+          "latest_text" : "affected: [1], total: [1]"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 21,
+      "definition_name" : "namenode_hdfs_blocks_health",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420741685856,
+          "maintenance_count" : 1,
+          "latest_text" : "Total Blocks:[408], Missing Blocks:[0]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 14,
+      "definition_name" : "ganglia_monitor_hbase_master",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673051328,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 8663"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 6,
+      "definition_name" : "zookeeper_server_process",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420677093961,
+          "maintenance_count" : 2,
+          "latest_text" : "TCP OK - 0.000s response on port 2181"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 25,
+      "definition_name" : "namenode_process",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673073990,
+          "maintenance_count" : 1,
+          "latest_text" : "TCP OK - 0.000s response on port 50070"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 24,
+      "definition_name" : "datanode_process_percent",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420673101024,
+          "maintenance_count" : 0,
+          "latest_text" : "affected: [0], total: [1]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 23,
+      "definition_name" : "datanode_process",
+      "summary" : {
+        "OK" : {
+          "count" : 1,
+          "original_timestamp" : 1420673037943,
+          "maintenance_count" : 0,
+          "latest_text" : "TCP OK - 0.000s response on port 50010"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 26,
+      "definition_name" : "namenode_hdfs_capacity_utilization",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420741565888,
+          "maintenance_count" : 1,
+          "latest_text" : "Capacity Used:[0%, 602263552], Capacity Remaining:[493093048320]"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 41,
+      "definition_name" : "yarn_nodemanager_webui_percent",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 1,
+          "original_timestamp" : 1420679160575,
+          "maintenance_count" : 0,
+          "latest_text" : "affected: [1], total: [1]"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 49,
+      "definition_name" : "storm_supervisor_process_percent",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 1,
+          "original_timestamp" : 1420677005373,
+          "maintenance_count" : 0,
+          "latest_text" : "affected: [1], total: [1]"
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 30,
+      "definition_name" : "namenode_directory_status",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673074183,
+          "maintenance_count" : 1,
+          "latest_text" : "Directories are healthy"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        }
+      }
+    },
+    {
+      "definition_id" : 43,
+      "definition_name" : "yarn_nodemanager_health",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 1,
+          "original_timestamp" : 1420672497953,
+          "maintenance_count" : 0,
+          "latest_text" : "Unable to find 'HDP/2.0.6/services/YARN/package/alerts/alert_nodemanager_health.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts"
+        }
+      }
+    },
+    {
+      "definition_id" : 37,
+      "definition_name" : "mapreduce_history_server_cpu",
+      "summary" : {
+        "OK" : {
+          "count" : 0,
+          "original_timestamp" : 1420673291601,
+          "maintenance_count" : 1,
+          "latest_text" : "1 CPU, load 8.5%"
+        },
+        "WARNING" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "CRITICAL" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
+        },
+        "UNKNOWN" : {
+          "count" : 0,
+          "original_timestamp" : 0,
+          "maintenance_count" : 0
         }
       }
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/mappers/alert_definition_summary_mapper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mappers/alert_definition_summary_mapper.js b/ambari-web/app/mappers/alert_definition_summary_mapper.js
index c8d259c..e85ab29 100644
--- a/ambari-web/app/mappers/alert_definition_summary_mapper.js
+++ b/ambari-web/app/mappers/alert_definition_summary_mapper.js
@@ -34,6 +34,9 @@ App.alertDefinitionSummaryMapper = App.QuickDataMapper.create({
             count: alertDefinitionSummary.summary[status].count,
             maintenanceCount: alertDefinitionSummary.summary[status].maintenance_count
           };
+          if (alertDefinitionSummary.summary[status].latest_text) {
+            summary[status].latestText = alertDefinitionSummary.summary[status].latest_text;
+          }
           if (alertDefinitionSummary.summary[status].original_timestamp > timestamp) {
             timestamp = alertDefinitionSummary.summary[status].original_timestamp;
           }

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/models/alert_definition.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/alert_definition.js b/ambari-web/app/models/alert_definition.js
index b92de5e..aa293f0 100644
--- a/ambari-web/app/models/alert_definition.js
+++ b/ambari-web/app/models/alert_definition.js
@@ -161,6 +161,17 @@ App.AlertDefinition = DS.Model.extend({
     return '';
   }.property('summary'),
 
+  latestText: function () {
+    var order = this.get('order'), summary = this.get('summary'), text = '';
+    order.forEach(function (state) {
+      var cnt = summary[state] ? summary[state].count + summary[state].maintenanceCount : 0;
+      if (cnt > 0) {
+        text = summary[state].latestText;
+      }
+    });
+    return text;
+  }.property('summary'),
+
   isHostAlertDefinition: function () {
     var serviceID = (this.get('service')._id === "AMBARI"),
         component = (this.get('componentName') === "AMBARI_AGENT");

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/models/alert_instance.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/alert_instance.js b/ambari-web/app/models/alert_instance.js
index 1ee08ef..ac3b54b 100644
--- a/ambari-web/app/models/alert_instance.js
+++ b/ambari-web/app/models/alert_instance.js
@@ -143,14 +143,6 @@ App.AlertInstance = DS.Model.extend({
     return this.get('serviceName') === 'AMBARI';
   }.property('serviceName'),
 
-  /**
-   * Text minified to length 50 or less chars
-   * @type {String}
-   */
-  textMinified: function () {
-    return this.get('text') ? (this.get('text').length > 52 ? this.get('text').substring(0, 50) + '...' : this.get('text')) : '';
-  }.property('text'),
-
   shortState: {
     'CRITICAL': 'CRIT',
     'WARNING': 'WARN',

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/styles/alerts.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/alerts.less b/ambari-web/app/styles/alerts.less
index 415cd59..443bb86 100644
--- a/ambari-web/app/styles/alerts.less
+++ b/ambari-web/app/styles/alerts.less
@@ -535,6 +535,18 @@
 
 .instance-text {
   font-size: 0.8em;
+  width: 95%;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.definition-latest-text {
+  font-size: 0.8em;
+  width: 95%;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
 }
 
 .alerts-popup-wrap {

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/templates/common/modal_popups/alerts_popup.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/modal_popups/alerts_popup.hbs b/ambari-web/app/templates/common/modal_popups/alerts_popup.hbs
index a40f796..d527b70 100644
--- a/ambari-web/app/templates/common/modal_popups/alerts_popup.hbs
+++ b/ambari-web/app/templates/common/modal_popups/alerts_popup.hbs
@@ -44,7 +44,7 @@
                       <a href="#" {{action "gotoAlertDetails" alertInstance target="view"}}>{{alertInstance.label}}</a>
                     </div>
                     <div class="instance-text">
-                      {{alertInstance.textMinified}}
+                      {{alertInstance.text}}
                     </div>
                   </div>
                   <div class="status-col" rel="alert-status-tooltip" {{bindAttr title="alertInstance.lastTriggered"}}>

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/app/templates/main/service/info/service_alert_popup.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/service_alert_popup.hbs b/ambari-web/app/templates/main/service/info/service_alert_popup.hbs
index 403be5d..6f02970 100644
--- a/ambari-web/app/templates/main/service/info/service_alert_popup.hbs
+++ b/ambari-web/app/templates/main/service/info/service_alert_popup.hbs
@@ -21,8 +21,13 @@
     {{#each alert in view.alerts}}
       <li class="alert-list-wrap">
         <div class="row-fluid">
-          <div class="span6 name-text">
-            <a href="#" {{action "gotoAlertDetails" alert target="view"}}>{{alert.label}}</a>
+          <div class="span7 name-text">
+            <div>
+              <a href="#" {{action "gotoAlertDetails" alert target="view"}}>{{alert.label}}</a>
+            </div>
+            <div class="definition-latest-text">
+              {{alert.latestText}}
+            </div>
           </div>
           <div class="span5 status-col" rel="alert-status-tooltip" {{bindAttr title="alert.lastTriggered"}}>
             <span class="timeago" {{bindAttr data-original-title="alert.lastTriggeredVerboseDisplay"}}>

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/test/mappers/alert_definition_summary_mapper_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/mappers/alert_definition_summary_mapper_test.js b/ambari-web/test/mappers/alert_definition_summary_mapper_test.js
index 3a5155e..af1d952 100644
--- a/ambari-web/test/mappers/alert_definition_summary_mapper_test.js
+++ b/ambari-web/test/mappers/alert_definition_summary_mapper_test.js
@@ -36,8 +36,8 @@ describe('App.alertDefinitionSummaryMapper', function () {
           {
             definition_id: 1,
             summary: {
-              OK: {count: 1, original_timestamp: 1, maintenance_count: 0},
-              WARNING: {count: 1, original_timestamp: 2, maintenance_count: 0},
+              OK: {count: 1, original_timestamp: 1, maintenance_count: 0, latest_text : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"},
+              WARNING: {count: 1, original_timestamp: 2, maintenance_count: 0, latest_text : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"},
               CRITICAL: {count: 0, original_timestamp: 0, maintenance_count: 1},
               UNKNOWN: {count: 0, original_timestamp: 0, maintenance_count: 0}
             }
@@ -45,8 +45,8 @@ describe('App.alertDefinitionSummaryMapper', function () {
           {
             definition_id: 2,
             summary: {
-              OK: {count: 1, original_timestamp: 1, maintenance_count: 0},
-              WARNING: {count: 5, original_timestamp: 2, maintenance_count: 0},
+              OK: {count: 1, original_timestamp: 1, maintenance_count: 0, latest_text : "HTTP 200 response in 0.000 seconds"},
+              WARNING: {count: 5, original_timestamp: 2, maintenance_count: 0, latest_text : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"},
               CRITICAL: {count: 1, original_timestamp: 1, maintenance_count: 0},
               UNKNOWN: {count: 1, original_timestamp: 3, maintenance_count: 0}
             }
@@ -54,25 +54,25 @@ describe('App.alertDefinitionSummaryMapper', function () {
           {
             definition_id: 3,
             summary: {
-              OK: {count: 1, original_timestamp: 1, maintenance_count: 0},
+              OK: {count: 1, original_timestamp: 1, maintenance_count: 0, latest_text : "HTTP 200 response in 0.000 seconds"},
               WARNING: {count: 2, original_timestamp: 2, maintenance_count: 2},
-              CRITICAL: {count: 3, original_timestamp: 4, maintenance_count: 0},
+              CRITICAL: {count: 3, original_timestamp: 4, maintenance_count: 0, latest_text : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"},
               UNKNOWN: {count: 4, original_timestamp: 3, maintenance_count: 0}
             }
           },
           {
             definition_id: 4,
             summary: {
-              OK: {count: 4, original_timestamp: 1, maintenance_count: 0},
+              OK: {count: 4, original_timestamp: 1, maintenance_count: 0, latest_text : "HTTP 200 response in 0.000 seconds"},
               WARNING: {count: 3, original_timestamp: 2, maintenance_count: 0},
               CRITICAL: {count: 2, original_timestamp: 1, maintenance_count: 0},
-              UNKNOWN: {count: 1, original_timestamp: 2, maintenance_count: 0}
+              UNKNOWN: {count: 1, original_timestamp: 2, maintenance_count: 0, latest_text : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}
             }
           },
           {
             definition_id: 5,
             summary: {
-              OK: {count: 1, original_timestamp: 1, maintenance_count: 0},
+              OK: {count: 1, original_timestamp: 1, maintenance_count: 0, latest_text : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"},
               WARNING: {count: 1, original_timestamp: 2, maintenance_count: 0},
               CRITICAL: {count: 1, original_timestamp: 3, maintenance_count: 0},
               UNKNOWN: {count: 1, original_timestamp: 4, maintenance_count: 0}
@@ -105,19 +105,19 @@ describe('App.alertDefinitionSummaryMapper', function () {
 
       App.alertDefinitionSummaryMapper.map(dataToMap);
       expect(App.PortAlertDefinition.find().findProperty('id', 1).get('lastTriggered')).to.equal(2);
-      expect(App.PortAlertDefinition.find().findProperty('id', 1).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0}, WARNING: {count: 1, maintenanceCount: 0}, CRITICAL: {count: 0, maintenanceCount: 1}, UNKNOWN: {count: 0, maintenanceCount: 0}});
+      expect(App.PortAlertDefinition.find().findProperty('id', 1).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0, latestText : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}, WARNING: {count: 1, maintenanceCount: 0, latestText : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}, CRITICAL: {count: 0, maintenanceCount: 1}, UNKNOWN: {count: 0, maintenanceCount: 0}});
 
       expect(App.MetricsAlertDefinition.find().findProperty('id', 2).get('lastTriggered')).to.equal(3);
-      expect(App.MetricsAlertDefinition.find().findProperty('id', 2).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0}, WARNING: {count: 5, maintenanceCount: 0}, CRITICAL: {count: 1, maintenanceCount: 0}, UNKNOWN: {count: 1, maintenanceCount: 0}});
+      expect(App.MetricsAlertDefinition.find().findProperty('id', 2).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0, latestText : "HTTP 200 response in 0.000 seconds"}, WARNING: {count: 5, maintenanceCount: 0, latestText : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}, CRITICAL: {count: 1, maintenanceCount: 0}, UNKNOWN: {count: 1, maintenanceCount: 0}});
 
       expect(App.WebAlertDefinition.find().findProperty('id', 3).get('lastTriggered')).to.equal(4);
-      expect(App.WebAlertDefinition.find().findProperty('id', 3).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0}, WARNING: {count: 2, maintenanceCount: 2}, CRITICAL: {count: 3, maintenanceCount: 0}, UNKNOWN: {count: 4, maintenanceCount: 0}});
+      expect(App.WebAlertDefinition.find().findProperty('id', 3).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0, latestText : "HTTP 200 response in 0.000 seconds"}, WARNING: {count: 2, maintenanceCount: 2}, CRITICAL: {count: 3, maintenanceCount: 0, latestText : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}, UNKNOWN: {count: 4, maintenanceCount: 0}});
 
       expect(App.AggregateAlertDefinition.find().findProperty('id', 4).get('lastTriggered')).to.equal(2);
-      expect(App.AggregateAlertDefinition.find().findProperty('id', 4).get('summary')).to.eql({OK: {count: 4, maintenanceCount: 0}, WARNING: {count: 3, maintenanceCount: 0}, CRITICAL: {count: 2, maintenanceCount: 0}, UNKNOWN: {count: 1, maintenanceCount: 0}});
+      expect(App.AggregateAlertDefinition.find().findProperty('id', 4).get('summary')).to.eql({OK: {count: 4, maintenanceCount: 0, latestText : "HTTP 200 response in 0.000 seconds"}, WARNING: {count: 3, maintenanceCount: 0}, CRITICAL: {count: 2, maintenanceCount: 0}, UNKNOWN: {count: 1, maintenanceCount: 0, latestText : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}});
 
       expect(App.ScriptAlertDefinition.find().findProperty('id', 5).get('lastTriggered')).to.equal(4);
-      expect(App.ScriptAlertDefinition.find().findProperty('id', 5).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0}, WARNING: {count: 1, maintenanceCount: 0}, CRITICAL: {count: 1, maintenanceCount: 0}, UNKNOWN: {count: 1, maintenanceCount: 0}});
+      expect(App.ScriptAlertDefinition.find().findProperty('id', 5).get('summary')).to.eql({OK: {count: 1, maintenanceCount: 0, latestText : "Connection failed: [Errno 111] Connection refused to c6407.ambari.apache.org:60000"}, WARNING: {count: 1, maintenanceCount: 0}, CRITICAL: {count: 1, maintenanceCount: 0}, UNKNOWN: {count: 1, maintenanceCount: 0}});
 
     });
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/b0a23797/ambari-web/test/models/alert_instance_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/models/alert_instance_test.js b/ambari-web/test/models/alert_instance_test.js
index c067b4e..e87e71f 100644
--- a/ambari-web/test/models/alert_instance_test.js
+++ b/ambari-web/test/models/alert_instance_test.js
@@ -57,35 +57,6 @@ describe('App.AlertInstance', function () {
 
   });
 
-  describe('#textMinified', function () {
-
-    var tests = [
-      {
-        m: 'should return empty string',
-        t: undefined,
-        r: ''
-      },
-      {
-        m: 'should return minified string',
-        t: '012345678901234567890123456789012345678901234567890123456789',
-        r: '01234567890123456789012345678901234567890123456789...'
-      },
-      {
-        m: 'should return initial string',
-        t: '01234567890123456789012345678901234567890123456789',
-        r: '01234567890123456789012345678901234567890123456789'
-      }
-    ];
-
-    tests.forEach(function(test){
-      it(test.m, function () {
-        model.set('text', test.t);
-        expect(model.get('textMinified')).to.equal(test.r);
-      });
-    });
-
-  });
-
   describe('#status', function () {
 
     it('should show maint mode icon', function () {


Mime
View raw message