瀏覽代碼

AMBARI-16011 Remove example AMS alert definitions from HDFS/alert.json (dsen)

Dmytro Sen 9 年之前
父節點
當前提交
4a6dadc3c2
共有 1 個文件被更改,包括 0 次插入85 次删除
  1. 0 85
      ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json

+ 0 - 85
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json

@@ -464,91 +464,6 @@
           }
         }
       },
-      {
-        "name": "namenode_free_heap_size_deviation_percentage",
-        "label": "NameNode Heap Usage (Hourly)",
-        "description": "This service-level alert is triggered if the NameNode heap usage deviation has grown beyond the specified threshold within an hour period.",
-        "interval": 1,
-        "scope": "SERVICE",
-        "enabled": false,
-        "source": {
-          "type": "AMS",
-          "uri": {
-            "http": "{{ams-site/timeline.metrics.service.webapp.address}}",
-            "https": "{{ams-site/timeline.metrics.service.webapp.address}}",
-            "https_property": "{{ams-site/timeline.metrics.service.http.policy}}",
-            "https_property_value": "HTTPS_ONLY",
-            "connection_timeout": 5.0
-          },
-          "reporting": {
-            "ok": {
-              "text": "The sample standard deviation percentage is {0}%"
-            },
-            "warning": {
-              "text": "The sample standard deviation percentage is {0}%",
-              "value": 20
-            },
-            "critical": {
-              "text": "The sample standard deviation percentage is {0}%",
-              "value": 50
-            },
-            "units" : "%"
-          },
-          "ams": {
-            "app_id": "NAMENODE",
-            "interval": 60,
-            "metric_list": [
-              "jvm.JvmMetrics.MemHeapUsedM",
-              "jvm.JvmMetrics.MemHeapMaxM"
-            ],
-            "minimum_value": 1,
-            "value": "{1} - {0}",
-            "compute": "sample_standard_deviation_percentage"
-          }
-        }
-      },
-      {
-        "name": "namenode_mean_heapsize_used",
-        "label": "NameNode Mean Used Heap Size (Hourly)",
-        "description": "This service-level alert is triggered if the mean NN heap size is beyond the specified threshold within a given time interval.",
-        "interval": 1,
-        "scope": "SERVICE",
-        "enabled": false,
-        "source": {
-          "type": "AMS",
-          "uri": {
-            "http": "{{ams-site/timeline.metrics.service.webapp.address}}",
-            "https": "{{ams-site/timeline.metrics.service.webapp.address}}",
-            "https_property": "{{ams-site/timeline.metrics.service.http.policy}}",
-            "https_property_value": "HTTPS_ONLY",
-            "connection_timeout": 5.0
-          },
-          "reporting": {
-            "ok": {
-              "text": "OK: the mean used heap size is {0} MB."
-            },
-            "warning": {
-              "text": "Warning: the mean used heap size is {0} MB.",
-              "value": 768
-            },
-            "critical": {
-              "text": "Critical: the mean used heap size is {0} MB.",
-              "value": 1024
-            },
-            "units" : "MB"
-          },
-          "ams": {
-            "app_id": "NAMENODE",
-            "interval": 30,
-            "metric_list": [
-              "jvm.JvmMetrics.MemHeapUsedM"
-            ],
-            "minimum_value": -1,
-            "value": "{0}",
-            "compute": "mean"
-          }
-        }
-      },
       {
         "name": "namenode_last_checkpoint",
         "label": "NameNode Last Checkpoint",