metadata.yaml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. plugin_name: python.d.plugin
  2. modules:
  3. - meta:
  4. plugin_name: python.d.plugin
  5. module_name: dovecot
  6. monitored_instance:
  7. name: Dovecot
  8. link: 'https://www.dovecot.org/'
  9. categories:
  10. - data-collection.mail-servers
  11. icon_filename: 'dovecot.svg'
  12. related_resources:
  13. integrations:
  14. list: []
  15. info_provided_to_referring_integrations:
  16. description: ''
  17. keywords:
  18. - dovecot
  19. - imap
  20. - mail
  21. most_popular: false
  22. overview:
  23. data_collection:
  24. metrics_description: 'This collector monitors Dovecot metrics about sessions, logins, commands, page faults and more.'
  25. method_description: 'It uses the dovecot socket and executes the `EXPORT global` command to get the statistics.'
  26. supported_platforms:
  27. include: []
  28. exclude: []
  29. multi_instance: true
  30. additional_permissions:
  31. description: ''
  32. default_behavior:
  33. auto_detection:
  34. description: 'If no configuration is given, the collector will attempt to connect to dovecot using unix socket localized in `/var/run/dovecot/stats`'
  35. limits:
  36. description: ''
  37. performance_impact:
  38. description: ''
  39. setup:
  40. prerequisites:
  41. list:
  42. - title: 'Dovecot configuration'
  43. description: The Dovecot UNIX socket should have R/W permissions for user netdata, or Dovecot should be configured with a TCP/IP socket.
  44. configuration:
  45. file:
  46. name: python.d/dovecot.conf
  47. options:
  48. description: |
  49. There are 2 sections:
  50. * Global variables
  51. * One or more JOBS that can define multiple different instances to monitor.
  52. 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.
  53. Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
  54. Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
  55. folding:
  56. title: "Config options"
  57. enabled: true
  58. list:
  59. - name: update_every
  60. description: Sets the default data collection frequency.
  61. default_value: 5
  62. required: false
  63. - name: priority
  64. description: Controls the order of charts at the netdata dashboard.
  65. default_value: 60000
  66. required: false
  67. - name: autodetection_retry
  68. description: Sets the job re-check interval in seconds.
  69. default_value: 0
  70. required: false
  71. - name: penalty
  72. description: Indicates whether to apply penalty to update_every in case of failures.
  73. default_value: yes
  74. required: false
  75. - name: name
  76. description: 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.
  77. default_value: ''
  78. required: false
  79. - name: socket
  80. description: Use this socket to communicate with Devcot
  81. default_value: /var/run/dovecot/stats
  82. required: false
  83. - name: host
  84. description: Instead of using a socket, you can point the collector to an ip for devcot statistics.
  85. default_value: ''
  86. required: false
  87. - name: port
  88. description: Used in combination with host, configures the port devcot listens to.
  89. default_value: ''
  90. required: false
  91. examples:
  92. folding:
  93. enabled: true
  94. title: "Config"
  95. list:
  96. - name: Local TCP
  97. description: A basic TCP configuration.
  98. config: |
  99. localtcpip:
  100. name: 'local'
  101. host: '127.0.0.1'
  102. port: 24242
  103. - name: Local socket
  104. description: A basic local socket configuration
  105. config: |
  106. localsocket:
  107. name: 'local'
  108. socket: '/var/run/dovecot/stats'
  109. troubleshooting:
  110. problems:
  111. list: []
  112. alerts: []
  113. metrics:
  114. folding:
  115. title: Metrics
  116. enabled: false
  117. description: ""
  118. availability: []
  119. scopes:
  120. - name: global
  121. description: "These metrics refer to the entire monitored application."
  122. labels: []
  123. metrics:
  124. - name: dovecot.sessions
  125. description: Dovecot Active Sessions
  126. unit: "number"
  127. chart_type: line
  128. dimensions:
  129. - name: active sessions
  130. - name: dovecot.logins
  131. description: Dovecot Logins
  132. unit: "number"
  133. chart_type: line
  134. dimensions:
  135. - name: logins
  136. - name: dovecot.commands
  137. description: Dovecot Commands
  138. unit: "commands"
  139. chart_type: line
  140. dimensions:
  141. - name: commands
  142. - name: dovecot.faults
  143. description: Dovecot Page Faults
  144. unit: "faults"
  145. chart_type: line
  146. dimensions:
  147. - name: minor
  148. - name: major
  149. - name: dovecot.context_switches
  150. description: Dovecot Context Switches
  151. unit: "switches"
  152. chart_type: line
  153. dimensions:
  154. - name: voluntary
  155. - name: involuntary
  156. - name: dovecot.io
  157. description: Dovecot Disk I/O
  158. unit: "KiB/s"
  159. chart_type: area
  160. dimensions:
  161. - name: read
  162. - name: write
  163. - name: dovecot.net
  164. description: Dovecot Network Bandwidth
  165. unit: "kilobits/s"
  166. chart_type: area
  167. dimensions:
  168. - name: read
  169. - name: write
  170. - name: dovecot.syscalls
  171. description: Dovecot Number of SysCalls
  172. unit: "syscalls/s"
  173. chart_type: line
  174. dimensions:
  175. - name: read
  176. - name: write
  177. - name: dovecot.lookup
  178. description: Dovecot Lookups
  179. unit: "number/s"
  180. chart_type: stacked
  181. dimensions:
  182. - name: path
  183. - name: attr
  184. - name: dovecot.cache
  185. description: Dovecot Cache Hits
  186. unit: "hits/s"
  187. chart_type: line
  188. dimensions:
  189. - name: hits
  190. - name: dovecot.auth
  191. description: Dovecot Authentications
  192. unit: "attempts"
  193. chart_type: stacked
  194. dimensions:
  195. - name: ok
  196. - name: failed
  197. - name: dovecot.auth_cache
  198. description: Dovecot Authentication Cache
  199. unit: "number"
  200. chart_type: stacked
  201. dimensions:
  202. - name: hit
  203. - name: miss