Telegraf: Add Strato disk and network names

This commit is contained in:
Jannik Beyerstedt 2020-12-19 17:33:00 +01:00
parent 480db3d6fb
commit 39045ed5a0

View file

@ -40,7 +40,7 @@
[[inputs.diskio]] [[inputs.diskio]]
## By default, telegraf will gather stats for all devices including partitions. ## By default, telegraf will gather stats for all devices including partitions.
## Setting devices will restrict the stats to the specified devices. ## Setting devices will restrict the stats to the specified devices.
devices = ["sd[a-d]", "mmcblk[0-1]", "ada[0-9]", "nvd[0-9]"] devices = ["sd[a-d]", "mmcblk[0-1]", "ada[0-9]", "nvd[0-9]", "ploop*"]
## Uncomment the following line if you need disk serial numbers. ## Uncomment the following line if you need disk serial numbers.
# skip_serial_number = false # skip_serial_number = false
fieldpass = ["read_bytes", "write_bytes", "io_time", "weighted_io_time", "iops_in_progress"] fieldpass = ["read_bytes", "write_bytes", "io_time", "weighted_io_time", "iops_in_progress"]
@ -55,7 +55,7 @@
# Gather metrics about network interface and protocol usage (Linux only) # Gather metrics about network interface and protocol usage (Linux only)
[[inputs.net]] [[inputs.net]]
interfaces = ["eth*", "enp0s[0-1]"] interfaces = ["eth*", "enp0s[0-1]", "venet*"]
ignore_protocol_stats = true ignore_protocol_stats = true
fieldpass = ["bytes_sent", "bytes_recv"] fieldpass = ["bytes_sent", "bytes_recv"]