updated telegraf state
This commit is contained in:
parent
5d7cfd0011
commit
4993afc74b
@ -35,6 +35,17 @@ telegraf:
|
|||||||
- '"squashfs"'
|
- '"squashfs"'
|
||||||
diskio:
|
diskio:
|
||||||
name: "diskio"
|
name: "diskio"
|
||||||
|
httpjson:
|
||||||
|
name: "httpjson"
|
||||||
|
params:
|
||||||
|
name: "ipinfo"
|
||||||
|
interval: "15m"
|
||||||
|
servers:
|
||||||
|
- '"https://ipinfo.io"'
|
||||||
|
response_timeout: "5s"
|
||||||
|
method: "GET"
|
||||||
|
tag_keys:
|
||||||
|
- '"ip"'
|
||||||
kernel:
|
kernel:
|
||||||
name: "kernel"
|
name: "kernel"
|
||||||
kernel_vmstat:
|
kernel_vmstat:
|
||||||
@ -72,4 +83,4 @@ telegraf:
|
|||||||
syslog:
|
syslog:
|
||||||
name: "syslog"
|
name: "syslog"
|
||||||
params:
|
params:
|
||||||
server: "udp://:6514"
|
server: "udp://:6514"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
flush_interval = "10s"
|
flush_interval = "10s"
|
||||||
flush_jitter = "0s"
|
flush_jitter = "0s"
|
||||||
precision = ""
|
precision = ""
|
||||||
hostname = ""
|
hostname = "{{ salt['grains.get']('fqdn') }}"
|
||||||
omit_hostname = false
|
omit_hostname = false
|
||||||
|
|
||||||
[[outputs.influxdb]]
|
[[outputs.influxdb]]
|
||||||
@ -27,4 +27,4 @@
|
|||||||
{{ paramname }} = {% if paramvalue is sameas True or paramvalue is sameas False %}{{ paramvalue|string|lower }}{% elif paramvalue is iterable and paramvalue is not string %}[{{ paramvalue|join(",") }}]{% else %}"{{ paramvalue }}"{% endif %}
|
{{ paramname }} = {% if paramvalue is sameas True or paramvalue is sameas False %}{{ paramvalue|string|lower }}{% elif paramvalue is iterable and paramvalue is not string %}[{{ paramvalue|join(",") }}]{% else %}"{{ paramvalue }}"{% endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user