updated Readme

This commit is contained in:
Miki 2016-02-05 18:02:07 +01:00
parent b02aa80426
commit 96c8bb3203
1 changed files with 20 additions and 29 deletions

View File

@ -10,9 +10,8 @@ domains. You can read Dovecot's documentation
# Read metrics about docker containers
[[inputs.dovecot]]
# Dovecot Endpoint
# To use TCP, set endpoint = "tcp://[ip]:[port]"
# To use environment variables (ie, docker-machine), set endpoint = "ENV"
endpoint = "unix:///var/run/docker.sock"
# To use TCP, set endpoint = "ip:port"
server = ["127.0.0.1:24242"]
# Only collect metrics for these domains, collect all if empty
domains_names = []
@ -23,32 +22,24 @@ domains. You can read Dovecot's documentation
domain string
reset_timestamp time.Time
last_update time.Time
num_logins int
num_cmds int
num_connected_sessions int
num_logins int64
num_cmds int64
num_connected_sessions int64
user_cpu float32
sys_cpu float32
clock_time float64
min_faults int
maj_faults int
vol_cs int
invol_cs int
disk_input int
disk_output int
read_count int
read_bytes int
write_count int
write_bytes int
mail_lookup_path int
mail_lookup_attr int
mail_read_count int
mail_read_bytes int
mail_cache_hits int
### Example Output:
```
% ./telegraf -config ~/ws/telegraf.conf -input-filter docker -test
* Plugin: docker, Collection 1
```
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
mail_cache_hits int64