diff options
-rw-r--r-- | sos/plugins/ntp.py | 6 | ||||
-rw-r--r-- | sos/plugins/system.py | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sos/plugins/ntp.py b/sos/plugins/ntp.py index dff9f985..639b292a 100644 --- a/sos/plugins/ntp.py +++ b/sos/plugins/ntp.py @@ -23,7 +23,11 @@ class Ntp(Plugin): packages = ('ntp',) def setup(self): - self.add_copy_spec("/etc/ntp.conf") + self.add_copy_specs([ + "/etc/ntp.conf", + "/etc/ntp/step-tickers", + "/etc/ntp/ntpservers" + ]) self.add_cmd_output("ntptime") diff --git a/sos/plugins/system.py b/sos/plugins/system.py index 40c87805..d3e25c77 100644 --- a/sos/plugins/system.py +++ b/sos/plugins/system.py @@ -25,9 +25,7 @@ class RedHatSystem(System, RedHatPlugin): "/proc/sys", "/etc/syslog.conf", "/etc/rsyslog.conf", - "/etc/ntp.conf", - "/etc/ntp/step-tickers", - "/etc/ntp/ntpservers"]) + ]) self.add_forbidden_path( "/proc/sys/net/ipv8/neigh/*/retrans_time") self.add_forbidden_path( @@ -42,7 +40,6 @@ class DebianSystem(System, DebianPlugin, UbuntuPlugin): "/proc/sys", "/etc/syslog.conf", "/etc/rsyslog.conf", - "/etc/ntp.conf" ]) self.add_forbidden_path( "/proc/sys/net/ipv8/neigh/*/retrans_time") self.add_forbidden_path( |