ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject ambari git commit: AMBARI-9524. Add Alerts for Ranger Service. (Velmurugan Periasamy via yusaku)
Date Fri, 06 Feb 2015 23:45:12 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 56e90a3a4 -> 69108c366


AMBARI-9524. Add Alerts for Ranger Service. (Velmurugan Periasamy via yusaku)


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

Branch: refs/heads/trunk
Commit: 69108c36671bb0524b5a341e649594bf5b35e4bb
Parents: 56e90a3
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Fri Feb 6 15:44:28 2015 -0800
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Fri Feb 6 15:44:28 2015 -0800

----------------------------------------------------------------------
 .../common-services/RANGER/0.4.0/alerts.json    | 59 ++++++++++++++++++++
 1 file changed, 59 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/69108c36/ambari-server/src/main/resources/common-services/RANGER/0.4.0/alerts.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/alerts.json b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/alerts.json
new file mode 100644
index 0000000..05ccc1d
--- /dev/null
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/alerts.json
@@ -0,0 +1,59 @@
+{
+  "RANGER": {
+    "service": [],
+    "RANGER_ADMIN": [
+      {
+        "name": "ranger_admin_process",
+        "label": "Ranger Admin Process",
+        "description": "This host-level alert is triggered if the Ranger Admin cannot be
determined to be up.",
+        "interval": 1,
+        "scope": "HOST",
+        "source": {
+          "type": "PORT",
+          "uri": "{{ranger-site/HTTP_SERVICE_PORT}}",
+          "default_port": 6080,
+          "reporting": {
+            "ok": {
+              "text": "TCP OK - {0:.3f}s response on port {1}"
+            },
+            "warning": {
+              "text": "TCP OK - {0:.3f}s response on port {1}",
+              "value": 1.5
+            },
+            "critical": {
+              "text": "Connection failed: {0} to {1}:{2}",
+              "value": 5.0
+            }
+          }
+        }
+      }
+    ],
+    "RANGER_USERSYNC": [
+      {
+        "name": "ranger_usersync_process",
+        "label": "Ranger Usersync Process",
+        "description": "This host-level alert is triggered if the Ranger Usersync cannot
be determined to be up.",
+        "interval": 1,
+        "scope": "HOST",
+        "source": {
+          "type": "PORT",
+          "uri": "{{admin-properties/authServicePort}}",
+          "default_port": 5151,
+          "reporting": {
+            "ok": {
+              "text": "TCP OK - {0:.3f}s response on port {1}"
+            },
+            "warning": {
+              "text": "TCP OK - {0:.3f}s response on port {1}",
+              "value": 1.5
+            },
+            "critical": {
+              "text": "Connection failed: {0} to {1}:{2}",
+              "value": 5.0
+            }
+          }
+        }
+      }
+    ]
+  }
+}
\ No newline at end of file


Mime
View raw message