You are here

nagios.schema.yml in Nagios Monitoring 8

config/schema/nagios.schema.yml

File

config/schema/nagios.schema.yml
View source
  1. # Schema for the configuration files of the nagios module.
  2. nagios.settings:
  3. type: config_object
  4. label: 'Nagios settings'
  5. mapping:
  6. nagios:
  7. type: mapping
  8. label: 'Nagios'
  9. mapping:
  10. status:
  11. type: mapping
  12. label: 'Error levels'
  13. mapping:
  14. ok:
  15. type: integer
  16. label: 'Status OK'
  17. warning:
  18. type: integer
  19. label: 'Status WARNING'
  20. critical:
  21. type: integer
  22. label: 'Status CRITICAL'
  23. unknown:
  24. type: integer
  25. label: 'STATUS UNKNOWN'
  26. min_report_severity:
  27. type: integer
  28. label: 'Mininum report severity'
  29. ua:
  30. type: string
  31. label: 'Unique ID'
  32. statuspage:
  33. type: mapping
  34. label: 'Status page settings'
  35. mapping:
  36. path:
  37. type: path
  38. label: 'Nagios page path'
  39. enabled:
  40. type: boolean
  41. label: 'Enable status page?'
  42. controller:
  43. type: string
  44. label: 'Nagios page controller'
  45. getparam:
  46. type: boolean
  47. label: 'Enable Unique ID checking via URL on status page?'
  48. show_outdated_names:
  49. type: boolean
  50. label: 'Show outdated module/theme name?'
  51. limit_watchdog:
  52. type: mapping
  53. label: 'Watchdog settings'
  54. mapping:
  55. negate:
  56. type: boolean
  57. label: 'Negate type condition'
  58. display:
  59. type: boolean
  60. label: 'Limit watchdog messages to only those that are new since the last check.'
  61. channel_filter:
  62. type: sequence
  63. label: 'Message types to ignore'
  64. sequence:
  65. type: string
  66. label: 'Message type'
  67. cron_duration:
  68. type: integer
  69. label: 'Cron duration'
  70. elysia_cron_duration:
  71. type: integer
  72. label: 'Elysia cron duration'
  73. enable:
  74. type: mapping
  75. label: 'Enabled modules'
  76. mapping:
  77. nagios:
  78. type: boolean
  79. label: 'Nagios'
  80. function:
  81. type: mapping
  82. label: 'Enabled functions'
  83. mapping:
  84. requirements:
  85. type: boolean
  86. label: 'Checking of hook_requirements'
  87. watchdog:
  88. type: boolean
  89. label: 'Check recent watchdog entries'
  90. cron:
  91. type: boolean
  92. label: 'Check whether cron has been running regularly'
  93. maintenance:
  94. type: boolean
  95. label: 'Check if maintenance mode is not active (site is online).'
  96. session_anon:
  97. type: boolean
  98. label: 'Check the number of anonymous sessions for nagios performance data'
  99. session_auth:
  100. type: boolean
  101. label: 'Check the number of authenticated sessions for nagios performance data'
  102. nodes:
  103. type: boolean
  104. label: 'Check the number of nodes for nagios performance data'
  105. users:
  106. type: boolean
  107. label: 'Check the number of users for nagios performance data'
  108. modules:
  109. type: boolean
  110. label: 'Check the number of modules for nagios performance data'
  111. themes:
  112. type: boolean
  113. label: 'Check the number of themes for nagios performance data'