From 39045ed5a0df39366edd2a8444cec3a967c9b3b1 Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sat, 19 Dec 2020 17:33:00 +0100 Subject: [PATCH] Telegraf: Add Strato disk and network names --- templates/telegraf.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/telegraf.conf.j2 b/templates/telegraf.conf.j2 index 225462e..3a7d899 100644 --- a/templates/telegraf.conf.j2 +++ b/templates/telegraf.conf.j2 @@ -40,7 +40,7 @@ [[inputs.diskio]] ## By default, telegraf will gather stats for all devices including partitions. ## 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. # skip_serial_number = false 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) [[inputs.net]] - interfaces = ["eth*", "enp0s[0-1]"] + interfaces = ["eth*", "enp0s[0-1]", "venet*"] ignore_protocol_stats = true fieldpass = ["bytes_sent", "bytes_recv"]