From e1c475cd0b915710f84500ee1e50fd76b233a1d7 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Wed, 13 Mar 2019 11:43:58 -0400 Subject: [named] Collect /etc/default/bind and named.log Adds collection of /etc/default/bind and /var/log/named.log. Related: #1525 Signed-off-by: Jake Hunsaker Signed-off-by: Bryn M. Reeves --- sos/plugins/named.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sos/plugins/named.py b/sos/plugins/named.py index 8a47a872..6df04f35 100644 --- a/sos/plugins/named.py +++ b/sos/plugins/named.py @@ -20,6 +20,10 @@ class Named(Plugin): config_files = named_conf def setup(self): + self.add_copy_spec([ + "/etc/default/bind", + "/var/log/named*.log" + ]) for cfg in self.config_files: if exists(cfg): self.add_copy_spec([ -- cgit