aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-03-13 11:43:58 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-03-21 16:23:37 +0000
commite1c475cd0b915710f84500ee1e50fd76b233a1d7 (patch)
tree1e786856d32050fe15da40469478530dd8fce7b1
parent6f03b85a9a18027a61d051b2c92d97c27f6c653f (diff)
downloadsos-e1c475cd0b915710f84500ee1e50fd76b233a1d7.tar.gz
[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 <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/named.py4
1 files changed, 4 insertions, 0 deletions
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([