2016-02-05 16:58:21 +00:00
|
|
|
# Dovecot Input Plugin
|
|
|
|
|
|
|
|
The dovecot plugin uses the dovecot Stats protocol to gather metrics on configured
|
|
|
|
domains. You can read Dovecot's documentation
|
|
|
|
[here](http://wiki2.dovecot.org/Statistics)
|
|
|
|
|
|
|
|
### Configuration:
|
|
|
|
|
|
|
|
```
|
|
|
|
# Read metrics about docker containers
|
|
|
|
[[inputs.dovecot]]
|
|
|
|
# Dovecot Endpoint
|
2016-02-05 17:02:07 +00:00
|
|
|
# To use TCP, set endpoint = "ip:port"
|
2016-02-08 16:58:20 +00:00
|
|
|
servers = ["127.0.0.1:24242"]
|
2016-02-05 16:58:21 +00:00
|
|
|
# Only collect metrics for these domains, collect all if empty
|
2016-02-08 16:58:20 +00:00
|
|
|
domains = []
|
2016-02-05 16:58:21 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
|
2016-02-08 17:01:02 +00:00
|
|
|
### Tags:
|
|
|
|
server: hostname
|
|
|
|
domain: domain name
|
|
|
|
|
2016-02-05 16:58:21 +00:00
|
|
|
### Fields:
|
|
|
|
|
|
|
|
reset_timestamp time.Time
|
|
|
|
last_update time.Time
|
2016-02-05 17:02:07 +00:00
|
|
|
num_logins int64
|
|
|
|
num_cmds int64
|
|
|
|
num_connected_sessions int64
|
2016-02-05 16:58:21 +00:00
|
|
|
user_cpu float32
|
|
|
|
sys_cpu float32
|
|
|
|
clock_time float64
|
2016-02-05 17:02:07 +00:00
|
|
|
min_faults int64
|
|
|
|
maj_faults int64
|
|
|
|
vol_cs int64
|
|
|
|
invol_cs int64
|
|
|
|
disk_input int64
|
|
|
|
disk_output int64
|
|
|
|
read_count int64
|
|
|
|
read_bytes int64
|
|
|
|
write_count int64
|
|
|
|
write_bytes int64
|
|
|
|
mail_lookup_path int64
|
|
|
|
mail_lookup_attr int64
|
|
|
|
mail_read_count int64
|
|
|
|
mail_read_bytes int64
|
2016-02-08 16:58:20 +00:00
|
|
|
mail_cache_hits int64
|