ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbrodets...@apache.org
Subject ambari git commit: AMBARI-12272. Incorrect alert shown for SNameNode process.(vbrodetskyi)
Date Fri, 03 Jul 2015 08:24:01 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 97a3097de -> 0d57c4568


AMBARI-12272. Incorrect alert shown for SNameNode process.(vbrodetskyi)


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

Branch: refs/heads/trunk
Commit: 0d57c45682f31edd510bcf428e0cf48e0ce66bdd
Parents: 97a3097
Author: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Authored: Fri Jul 3 10:51:06 2015 +0300
Committer: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Committed: Fri Jul 3 10:51:06 2015 +0300

----------------------------------------------------------------------
 .../common-services/HDFS/2.1.0.2.0/alerts.json  | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0d57c456/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
index e562fd7..4e62eab 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
@@ -472,20 +472,22 @@
         "scope": "ANY",
         "enabled": true,
         "source": {
-          "type": "PORT",
-          "uri": "{{hdfs-site/dfs.namenode.secondary.http-address}}",
-          "default_port": 50071,
+          "type": "WEB",
+          "uri": {
+            "http": "{{hdfs-site/dfs.namenode.secondary.http-address}}",
+            "https": "{{hdfs-site/dfs.namenode.secondary.https-address}}",
+            "https_property": "{{hdfs-site/dfs.http.policy}}",
+            "https_property_value": "HTTPS_ONLY"
+          },
           "reporting": {
             "ok": {
-              "text": "TCP OK - {0:.3f}s response on port {1}"
+              "text": "HTTP {0} response in {2:.3f}s"
             },
-            "warning": {
-              "text": "TCP OK - {0:.3f}s response on port {1}",
-              "value": 1.5
+            "warning":{
+              "text": "HTTP {0} response from {1} in {2:.3f}s ({3})"
             },
             "critical": {
-              "text": "Connection failed: {0} to {1}:{2}",
-              "value": 5.0
+              "text": "Connection failed to {1} ({3})"
             }
           }
         }


Mime
View raw message