daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest May 17th, 2018 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "AlertDefinition": {
  3.     "component_name": "NAMENODE",
  4.     "description": "This service-level alert is triggered if the total number of volume failures across the cluster is greater than the configured critical threshold.",
  5.     "enabled": true,
  6.     "help_url": null,
  7.     "ignore_host": false,
  8.     "interval": 2,
  9.     "label": "NameNode Volume Failures",
  10.     "name": "namenode_volume_failures",
  11.     "scope": "ANY",
  12.     "service_name": "HDFS",
  13.     "source": {
  14.       "jmx": {
  15.         "property_list": [
  16.           "Hadoop:service=NameNode,name=FSNamesystemState/VolumeFailuresTotal"
  17.         ],
  18.         "value": "{0}"
  19.       },
  20.       "reporting": {
  21.         "ok": {
  22.           "text": "There are {0} volume failures"
  23.         },
  24.         "warning": {
  25.           "text": "There are {0} volume failures",
  26.           "value": 1
  27.         },
  28.         "critical": {
  29.           "text": "There are {0} volume failures",
  30.           "value": 1
  31.         },
  32.         "units": "Volume(s)"
  33.       },
  34.       "type": "METRIC",
  35.       "uri": {
  36.         "http": "{{hdfs-site/dfs.namenode.http-address}}",
  37.         "https": "{{hdfs-site/dfs.namenode.https-address}}",
  38.         "https_property": "{{hdfs-site/dfs.http.policy}}",
  39.         "https_property_value": "HTTPS_ONLY",
  40.         "kerberos_keytab": "{{hdfs-site/dfs.web.authentication.kerberos.keytab}}",
  41.         "kerberos_principal": "{{hdfs-site/dfs.web.authentication.kerberos.principal}}",
  42.         "default_port": 0,
  43.         "connection_timeout": 5,
  44.         "high_availability": {
  45.           "nameservice": "{{hdfs-site/dfs.internal.nameservices}}",
  46.           "alias_key": "{{hdfs-site/dfs.ha.namenodes.{{ha-nameservice}}}}",
  47.           "http_pattern": "{{hdfs-site/dfs.namenode.http-address.{{ha-nameservice}}.{{alias}}}}",
  48.           "https_pattern": "{{hdfs-site/dfs.namenode.https-address.{{ha-nameservice}}.{{alias}}}}"
  49.         }
  50.       }
  51.     }
  52.   }
  53. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top