alerts.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "HIVE": {
  3. "service": [],
  4. "HIVE_METASTORE": [
  5. {
  6. "name": "hive_metastore_process",
  7. "label": "Hive Metastore Process",
  8. "description": "This host-level alert is triggered if the Hive Metastore process cannot be determined to be up and listening on the network.",
  9. "interval": 1,
  10. "scope": "ANY",
  11. "source": {
  12. "type": "PORT",
  13. "uri": "{{hive-site/hive.metastore.uris}}",
  14. "default_port": 9083,
  15. "reporting": {
  16. "ok": {
  17. "text": "TCP OK - {0:.4f} response on port {1}"
  18. },
  19. "critical": {
  20. "text": "Connection failed: {0} to {1}:{2}"
  21. }
  22. }
  23. }
  24. }
  25. ],
  26. "HIVE_SERVER": [
  27. {
  28. "name": "hive_server_process",
  29. "label": "HiveServer2 Process",
  30. "description": "This host-level alert is triggered if the HiveServer cannot be determined to be up and responding to client requests.",
  31. "interval": 1,
  32. "scope": "ANY",
  33. "enabled": true,
  34. "source": {
  35. "type": "SCRIPT",
  36. "path": "HDP/1.3.2/services/HIVE/package/files/alert_hive_thrift_port.py"
  37. }
  38. }
  39. ],
  40. "WEBHCAT_SERVER": [
  41. {
  42. "name": "hive_webhcat_server_status",
  43. "label": "WebHCat Server Status",
  44. "description": "This host-level alert is triggered if the templeton server status is not healthy.",
  45. "interval": 1,
  46. "scope": "ANY",
  47. "enabled": true,
  48. "source": {
  49. "type": "SCRIPT",
  50. "path": "HDP/1.3.2/services/HIVE/package/files/alert_webhcat_server.py"
  51. }
  52. }
  53. ]
  54. }
  55. }