metadata.yaml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: monit
  6. monitored_instance:
  7. name: Monit
  8. link: https://mmonit.com/monit/
  9. categories:
  10. - data-collection.synthetic-checks
  11. icon_filename: "monit.png"
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ""
  17. keywords:
  18. - monit
  19. - mmonit
  20. - supervision tool
  21. - monitrc
  22. most_popular: false
  23. overview:
  24. data_collection:
  25. metrics_description: |
  26. This collector monitors Monit targets such as filesystems, directories, files, FIFO pipes and more.
  27. method_description: |
  28. It gathers data from Monit's XML interface.
  29. supported_platforms:
  30. include: []
  31. exclude: []
  32. multi_instance: true
  33. additional_permissions:
  34. description: ""
  35. default_behavior:
  36. auto_detection:
  37. description: By default, this collector will attempt to connect to Monit at `http://localhost:2812`
  38. limits:
  39. description: ""
  40. performance_impact:
  41. description: ""
  42. setup:
  43. prerequisites:
  44. list: []
  45. configuration:
  46. file:
  47. name: "python.d/monit.conf"
  48. options:
  49. description: |
  50. There are 2 sections:
  51. * Global variables
  52. * One or more JOBS that can define multiple different instances to monitor.
  53. The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
  54. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  55. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  56. folding:
  57. title: "Config options"
  58. enabled: true
  59. list:
  60. - name: update_every
  61. description: Sets the default data collection frequency.
  62. default_value: 1
  63. required: false
  64. - name: priority
  65. description: Controls the order of charts at the netdata dashboard.
  66. default_value: 60000
  67. required: false
  68. - name: autodetection_retry
  69. description: Sets the job re-check interval in seconds.
  70. default_value: 0
  71. required: false
  72. - name: penalty
  73. description: Indicates whether to apply penalty to update_every in case of failures.
  74. default_value: yes
  75. required: false
  76. - name: name
  77. description: >
  78. Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
  79. default_value: "local"
  80. required: false
  81. - name: url
  82. description: The URL to fetch Monit's metrics.
  83. default_value: http://localhost:2812
  84. required: true
  85. - name: user
  86. description: Username in case the URL is password protected.
  87. default_value: ""
  88. required: false
  89. - name: pass
  90. description: Password in case the URL is password protected.
  91. default_value: ""
  92. required: false
  93. examples:
  94. folding:
  95. enabled: true
  96. title: "Config"
  97. list:
  98. - name: Basic
  99. description: A basic configuration example.
  100. folding:
  101. enabled: false
  102. config: |
  103. localhost:
  104. name : 'local'
  105. url : 'http://localhost:2812'
  106. - name: Basic Authentication
  107. description: Example using basic username and password in order to authenticate.
  108. config: |
  109. localhost:
  110. name : 'local'
  111. url : 'http://localhost:2812'
  112. user: 'foo'
  113. pass: 'bar'
  114. - name: Multi-instance
  115. description: |
  116. > **Note**: When you define multiple jobs, their names must be unique.
  117. Collecting metrics from local and remote instances.
  118. config: |
  119. localhost:
  120. name: 'local'
  121. url: 'http://localhost:2812'
  122. remote_job:
  123. name: 'remote'
  124. url: 'http://192.0.2.1:2812'
  125. troubleshooting:
  126. problems:
  127. list: []
  128. alerts: []
  129. metrics:
  130. folding:
  131. title: Metrics
  132. enabled: false
  133. description: ""
  134. availability: []
  135. scopes:
  136. - name: global
  137. description: "These metrics refer to the entire monitored application."
  138. labels: []
  139. metrics:
  140. - name: monit.filesystems
  141. description: Filesystems
  142. unit: "filesystems"
  143. chart_type: line
  144. dimensions:
  145. - name: a dimension per target
  146. - name: monit.directories
  147. description: Directories
  148. unit: "directories"
  149. chart_type: line
  150. dimensions:
  151. - name: a dimension per target
  152. - name: monit.files
  153. description: Files
  154. unit: "files"
  155. chart_type: line
  156. dimensions:
  157. - name: a dimension per target
  158. - name: monit.fifos
  159. description: Pipes (fifo)
  160. unit: "pipes"
  161. chart_type: line
  162. dimensions:
  163. - name: a dimension per target
  164. - name: monit.programs
  165. description: Programs statuses
  166. unit: "programs"
  167. chart_type: line
  168. dimensions:
  169. - name: a dimension per target
  170. - name: monit.services
  171. description: Processes statuses
  172. unit: "processes"
  173. chart_type: line
  174. dimensions:
  175. - name: a dimension per target
  176. - name: monit.process_uptime
  177. description: Processes uptime
  178. unit: "seconds"
  179. chart_type: line
  180. dimensions:
  181. - name: a dimension per target
  182. - name: monit.process_threads
  183. description: Processes threads
  184. unit: "threads"
  185. chart_type: line
  186. dimensions:
  187. - name: a dimension per target
  188. - name: monit.process_childrens
  189. description: Child processes
  190. unit: "children"
  191. chart_type: line
  192. dimensions:
  193. - name: a dimension per target
  194. - name: monit.hosts
  195. description: Hosts
  196. unit: "hosts"
  197. chart_type: line
  198. dimensions:
  199. - name: a dimension per target
  200. - name: monit.host_latency
  201. description: Hosts latency
  202. unit: "milliseconds"
  203. chart_type: line
  204. dimensions:
  205. - name: a dimension per target
  206. - name: monit.networks
  207. description: Network interfaces and addresses
  208. unit: "interfaces"
  209. chart_type: line
  210. dimensions:
  211. - name: a dimension per target