Add wireguard and vmstat monitoring, monitor all disk IO

This commit is contained in:
Alex 2020-06-19 23:26:00 +02:00
parent 475c585fb0
commit 4f25f7b36d
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 6 additions and 2 deletions

View File

@ -28,9 +28,8 @@
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"] ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
[[inputs.diskio]] [[inputs.diskio]]
devices = ["vd*"]
[[inputs.kernel]] [[inputs.kernel]]
[[inputs.kernel_vmstat]]
[[inputs.mem]] [[inputs.mem]]
[[inputs.processes]] [[inputs.processes]]
[[inputs.swap]] [[inputs.swap]]
@ -87,3 +86,8 @@
{% endif %} {% endif %}
#[[inputs.syslog]] #[[inputs.syslog]]
{% if inventory_hostname == "n1" %}
[[inputs.wireguard]]
devices = ["wg0"]
{% endif %}