From 8c60e0425a9b2474b8f403888cfaaaa06b2e6c1a Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 30 Jan 2025 13:49:16 +0100 Subject: [PATCH] collectd: add processes* to cleanup list The processes graph was removed some month ago but it was not correct cleaned. I asume because the updater has cleaned the ramdisk but not the persistant copy. Signed-off-by: Arne Fitzenreiter --- config/backup/backup.pl | 1 + config/rootfiles/core/192/update.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 3c33608c5..6afd9600b 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -294,6 +294,7 @@ restore_backup() { /var/log/rrd/collectd/localhost/disk-sr* \ /var/log/rrd/collectd/localhost/disk-ram* \ /var/log/rrd/collectd/localhost/interface \ + /var/log/rrd/collectd/localhost/processes* \ /var/log/rrd/collectd/localhost/thermal-cooling_device* fi diff --git a/config/rootfiles/core/192/update.sh b/config/rootfiles/core/192/update.sh index 072a45dda..99a7aa977 100644 --- a/config/rootfiles/core/192/update.sh +++ b/config/rootfiles/core/192/update.sh @@ -130,6 +130,7 @@ rm -rvf \ /var/log/rrd/collectd/localhost/disk-sr* \ /var/log/rrd/collectd/localhost/disk-ram* \ /var/log/rrd/collectd/localhost/interface \ + /var/log/rrd/collectd/localhost/processes* \ /var/log/rrd/collectd/localhost/thermal-cooling_device* # Start services -- 2.39.5