diff --git a/etc/telegraf.conf b/etc/telegraf.conf index 703038fb5..e2c913fc8 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -3419,7 +3419,9 @@ ## By default, telegraf will gather stats for all devices including ## disk partitions. ## Setting devices will restrict the stats to the specified devices. - # devices = ["sda", "sdb", "vd*"] + ## NOTE: Globbing expressions (e.g. asterix) are not supported for + ## disk synonyms like '/dev/disk/by-id'. + # devices = ["sda", "sdb", "vd*", "/dev/disk/by-id/nvme-eui.00123deadc0de123"] ## Uncomment the following line if you need disk serial numbers. # skip_serial_number = false # diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index 7ffc267e2..c2eb2e072 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -3419,7 +3419,9 @@ ## By default, telegraf will gather stats for all devices including ## disk partitions. ## Setting devices will restrict the stats to the specified devices. - # devices = ["sda", "sdb", "vd*"] + ## NOTE: Globbing expressions (e.g. asterix) are not supported for + ## disk synonyms like '/dev/disk/by-id'. + # devices = ["sda", "sdb", "vd*", "/dev/disk/by-id/nvme-eui.00123deadc0de123"] ## Uncomment the following line if you need disk serial numbers. # skip_serial_number = false #