From 9114255af5cf8c040834b11e493c16bcdfab0631 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 10 Apr 2023 15:39:40 -0400 Subject: [PATCH] Add *.update-* obsolete configs to dpkg plugin --- node-daemon/plugins/dpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-daemon/plugins/dpkg b/node-daemon/plugins/dpkg index f083318b..1501253b 100644 --- a/node-daemon/plugins/dpkg +++ b/node-daemon/plugins/dpkg @@ -110,8 +110,8 @@ class MonitoringPluginScript(MonitoringPlugin): count_upgradable = len(list_upgradable) - # Get obsolete config files (dpkg-* or ucf-* under /etc) - retcode, stdout, stderr = pvc_common.run_os_command("/usr/bin/find /etc -type f -a \( -name '*.dpkg-*' -o -name '*.ucf-*' \)") + # Get obsolete config files (dpkg-*, ucf-*, or update-* under /etc) + retcode, stdout, stderr = pvc_common.run_os_command("/usr/bin/find /etc -type f -a \( -name '*.dpkg-*' -o -name '*.ucf-*' -o -name '*.update-*' \)") obsolete_conffiles = list() for conffile_line in stdout.split('\n'):