dnsApp.config 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "healthChecks": [
  3. {
  4. "name": "ping",
  5. "type": "ping",
  6. "interval": 60,
  7. "retries": 3,
  8. "timeout": 10,
  9. "emailAlert": "default",
  10. "webHook": "default"
  11. },
  12. {
  13. "name": "tcp80",
  14. "type": "tcp",
  15. "interval": 60,
  16. "retries": 3,
  17. "timeout": 10,
  18. "port": 80,
  19. "emailAlert": "default",
  20. "webHook": "default"
  21. },
  22. {
  23. "name": "tcp443",
  24. "type": "tcp",
  25. "interval": 60,
  26. "retries": 3,
  27. "timeout": 10,
  28. "port": 443,
  29. "emailAlert": "default",
  30. "webHook": "default"
  31. },
  32. {
  33. "name": "http",
  34. "type": "http",
  35. "interval": 60,
  36. "retries": 3,
  37. "timeout": 10,
  38. "url": null,
  39. "emailAlert": "default",
  40. "webHook": "default"
  41. },
  42. {
  43. "name": "https",
  44. "type": "https",
  45. "interval": 60,
  46. "retries": 3,
  47. "timeout": 10,
  48. "url": null,
  49. "emailAlert": "default",
  50. "webHook": "default"
  51. },
  52. {
  53. "name": "www.example.com",
  54. "type": "https",
  55. "interval": 60,
  56. "retries": 3,
  57. "timeout": 10,
  58. "url": "https://www.example.com",
  59. "emailAlert": "default",
  60. "webHook": "default"
  61. }
  62. ],
  63. "emailAlerts": [
  64. {
  65. "name": "default",
  66. "enabled": false,
  67. "alertTo": [
  68. "admin@example.com"
  69. ],
  70. "smtpServer": "smtp.example.com",
  71. "smtpPort": 465,
  72. "startTls": false,
  73. "smtpOverTls": true,
  74. "username": "alerts@example.com",
  75. "password": "password",
  76. "mailFrom": "alerts@example.com",
  77. "mailFromName": "DNS Server Alert"
  78. }
  79. ],
  80. "webHooks": [
  81. {
  82. "name": "default",
  83. "enabled": false,
  84. "urls": [
  85. "https://webhooks.example.com/default"
  86. ]
  87. }
  88. ],
  89. "underMaintenance": [
  90. {
  91. "network": "192.168.10.2/32",
  92. "enabled": false
  93. },
  94. {
  95. "network": "10.1.1.0/24",
  96. "enabled": false
  97. }
  98. ]
  99. }