summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/dovecot
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2023-07-26 10:33:47 +0300
committerGitHub <noreply@github.com>2023-07-26 10:33:47 +0300
commite7d9d14c16bac4820f32fe4657650ace4054a498 (patch)
tree1f0e5f306bde8fb3bc1174d3a74b9fe2822f2ba3 /collectors/python.d.plugin/dovecot
parent2e815bbfb9bbc08c0e603c644d9875e39a58ffcc (diff)
Update metadata.yaml for some python collectors (#15513)
* add more info to metadata.yaml for ceph, haproxy and tor * changes * add dovecot metdata * add metdata for hpssa * add icecast metadata * add rethinkdbs metadata * add am2320 metadata * address review comments * Update collectors/python.d.plugin/ceph/metadata.yaml * Update collectors/python.d.plugin/am2320/metadata.yaml * Apply suggestions from code review * Update collectors/python.d.plugin/ceph/metadata.yaml --------- Co-authored-by: Andrew Maguire <andrewm4894@gmail.com> Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
Diffstat (limited to 'collectors/python.d.plugin/dovecot')
-rw-r--r--collectors/python.d.plugin/dovecot/metadata.yaml87
1 files changed, 73 insertions, 14 deletions
diff --git a/collectors/python.d.plugin/dovecot/metadata.yaml b/collectors/python.d.plugin/dovecot/metadata.yaml
index 3015b83313..919d637f43 100644
--- a/collectors/python.d.plugin/dovecot/metadata.yaml
+++ b/collectors/python.d.plugin/dovecot/metadata.yaml
@@ -3,7 +3,7 @@ meta:
module_name: dovecot
monitored_instance:
name: Dovecot
- link: ''
+ link: 'https://www.dovecot.org/'
categories:
- data-collection.mail-servers
icon_filename: 'dovecot.png'
@@ -12,12 +12,15 @@ meta:
list: []
info_provided_to_referring_integrations:
description: ''
- keywords: []
+ keywords:
+ - dovecot
+ - imap
+ - mail
most_popular: false
overview:
data_collection:
- metrics_description: 'Examine Dovecot metrics for insights into IMAP and POP3 server operations. Analyze connection statuses, mailbox operations, and error rates for efficient mail server operations.'
- method_description: ''
+ metrics_description: 'This collector monitors Dovecot metrics about sessions, logins, commands, page faults and more.'
+ method_description: 'It uses the dovecot socket and executes the `EXPORT global` command to get the statistics.'
supported_platforms:
include: []
exclude: []
@@ -26,29 +29,85 @@ overview:
description: ''
default_behavior:
auto_detection:
- description: ''
+ description: 'If no configuration is given, the collector will attempt to connect to dovecot using unix socket localized in `/var/run/dovecot/stats`'
limits:
description: ''
performance_impact:
description: ''
setup:
prerequisites:
- list: []
+ list:
+ - title: 'Dovecot configuration'
+ description: The Dovecot UNIX socket should have R/W permissions for user netdata, or Dovecot should be configured with a TCP/IP socket.
configuration:
file:
- name: ''
- description: ''
+ name: python.d/dovecot.conf
options:
- description: ''
+ description: |
+ There are 2 sections:
+
+ * Global variables
+ * One or more JOBS that can define multiple different instances to monitor.
+
+ 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.
+
+ Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
+
+ Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
folding:
- title: ''
+ title: "Config options"
enabled: true
- list: []
+ list:
+ - name: update_every
+ description: Sets the default data collection frequency.
+ default_value: 5
+ required: false
+ - name: priority
+ description: Controls the order of charts at the netdata dashboard.
+ default_value: 60000
+ required: false
+ - name: autodetection_retry
+ description: Sets the job re-check interval in seconds.
+ default_value: 0
+ required: false
+ - name: penalty
+ description: Indicates whether to apply penalty to update_every in case of failures.
+ default_value: yes
+ required: false
+ - name: name
+ 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.
+ default_value: ''
+ required: false
+ - name: socket
+ description: Use this socket to communicate with Devcot
+ default_value: /var/run/dovecot/stats
+ required: false
+ - name: host
+ description: Instead of using a socket, you can point the collector to an ip for devcot statistics.
+ default_value: ''
+ required: false
+ - name: port
+ description: Used in combination with host, configures the port devcot listens to.
+ default_value: ''
+ required: false
examples:
folding:
enabled: true
- title: ''
- list: []
+ title: "Config"
+ list:
+ - name: Local TCP
+ description: A basic TCP configuration.
+ config: |
+ localtcpip:
+ name: 'local'
+ host: '127.0.0.1'
+ port: 24242
+ - name: Local socket
+ description: A basic local socket configuration
+ config: |
+ localsocket:
+ name: 'local'
+ socket: '/var/run/dovecot/stats'
troubleshooting:
problems:
list: []
@@ -61,7 +120,7 @@ metrics:
availability: []
scopes:
- name: global
- description: ""
+ description: "These metrics refer to the entire monitored application."
labels: []
metrics:
- name: dovecot.sessions