updated telegraf state

This commit is contained in:
Paul 2020-10-25 16:37:55 +01:00
parent 5d7cfd0011
commit 4993afc74b
2 changed files with 14 additions and 3 deletions

View File

@ -35,6 +35,17 @@ telegraf:
- '"squashfs"'
diskio:
name: "diskio"
httpjson:
name: "httpjson"
params:
name: "ipinfo"
interval: "15m"
servers:
- '"https://ipinfo.io"'
response_timeout: "5s"
method: "GET"
tag_keys:
- '"ip"'
kernel:
name: "kernel"
kernel_vmstat:

View File

@ -11,7 +11,7 @@
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
hostname = ""
hostname = "{{ salt['grains.get']('fqdn') }}"
omit_hostname = false
[[outputs.influxdb]]