enable global,user,domain and ip queries

This commit is contained in:
Miki 2016-04-07 17:33:56 +02:00
parent 163e8f2cdb
commit 2b95477017
1 changed files with 13 additions and 8 deletions

View File

@ -10,20 +10,25 @@ domains. You can read Dovecot's documentation
``` ```
# Read metrics about dovecot servers # Read metrics about dovecot servers
[[inputs.dovecot]] [[inputs.dovecot]]
# Dovecot servers ## specify dovecot servers via an address:port list
# specify dovecot servers via an address:port list ## e.g.
# e.g. ## localhost:24242
# localhost:24242 ##
# ## If no servers are specified, then localhost is used as the host.
# If no servers are specified, then localhost is used as the host.
servers = ["localhost:24242"] servers = ["localhost:24242"]
# Only collect metrics for these domains, collect all if empty ## Type is one of "user", "domain", "ip", or "global"
domains = [] type = "global"
## Wildcard matches like "*.com". An empty string "" is same as "*"
## If type = "ip" filters should be <IP/network>
filters = [""]
``` ```
### Tags: ### Tags:
server: hostname server: hostname
type: query type
ip: ip addr
user: username
domain: domain name domain: domain name