diff options
-rw-r--r-- | sos/plugins/system.py | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/sos/plugins/system.py b/sos/plugins/system.py index d3e25c77..cc287e15 100644 --- a/sos/plugins/system.py +++ b/sos/plugins/system.py @@ -14,35 +14,20 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class System(Plugin): - plugin_name = "system" - -class RedHatSystem(System, RedHatPlugin): +class System(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): """core system related information """ - def setup(self): - self.add_copy_specs([ - "/proc/sys", - "/etc/syslog.conf", - "/etc/rsyslog.conf", - ]) - self.add_forbidden_path( - "/proc/sys/net/ipv8/neigh/*/retrans_time") - self.add_forbidden_path( - "/proc/sys/net/ipv6/neigh/*/base_reachable_time") + plugin_name = "system" -class DebianSystem(System, DebianPlugin, UbuntuPlugin): - """core system related information for Debian and Ubuntu - """ def setup(self): self.add_copy_specs([ "/proc/sys", "/etc/syslog.conf", "/etc/rsyslog.conf", + ]) self.add_forbidden_path( "/proc/sys/net/ipv8/neigh/*/retrans_time") self.add_forbidden_path( "/proc/sys/net/ipv6/neigh/*/base_reachable_time") - |