From 7ba01388d488ea2cefe704b31d14acf43648bfb8 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 30 Jan 2025 10:18:01 +0100 Subject: [PATCH] collectd: add some devices to the ignore list disks: cdroms, tape, loop and ram cooling-devices: 0-7 was already disabled but there are more possible Signed-off-by: Arne Fitzenreiter --- config/collectd/collectd.conf | 4 ++++ config/collectd/collectd.thermal | 10 ++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/config/collectd/collectd.conf b/config/collectd/collectd.conf index be6f1fd12c..020604e744 100644 --- a/config/collectd/collectd.conf +++ b/config/collectd/collectd.conf @@ -40,6 +40,10 @@ include "/etc/collectd.precache" Disk "/[hs]d[a-z][0-9]$/" + Disk "/loop[0-9]$/" + Disk "/sg[0-9]$/" + Disk "/sr[0-9]$/" + Disk "/ram[0-9]$/" IgnoreSelected true diff --git a/config/collectd/collectd.thermal b/config/collectd/collectd.thermal index 97403fbb62..46d9a4a060 100644 --- a/config/collectd/collectd.thermal +++ b/config/collectd/collectd.thermal @@ -1,13 +1,7 @@ LoadPlugin thermal - Device "cooling_device0" - Device "cooling_device1" - Device "cooling_device2" - Device "cooling_device3" - Device "cooling_device4" - Device "cooling_device5" - Device "cooling_device6" - Device "cooling_device7" + Device "/cooling_device[0-9]/" + Device "/cooling_device[0-9][0-9]/" IgnoreSelected true -- 2.39.5