Skip to content
2 changes: 1 addition & 1 deletion sos-nvdebug.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
batch = yes
log-size = 10
journal_size = 50
plugin_timeout = 2000
plugin_timeout = 2160
cmd_timeout = 300
low_priority = True

Expand Down
2 changes: 1 addition & 1 deletion sos-nvidia.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ batch = yes
log-size = 10
# 50 MB per journalctl capture, 7 days of journal text rarely exceeds this
journal_size = 50
plugin_timeout = 2000
plugin_timeout = 2160
cmd_timeout = 300
low_priority = True

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .system_collector import SystemCollector
from .firmware_collector import FirmwareCollector
from .cable_collector import CableCollector
from .pcc_collector import PccCollector


class CollectorManager(object):
Expand All @@ -12,6 +13,7 @@ def collect_all(self):
self.collect_system_info()
self.collect_firmware_info()
self.collect_cable_info()
self.collect_pcc_info()

def collect_system_info(self):
for ctx in self.device_contexts:
Expand All @@ -26,3 +28,10 @@ def collect_firmware_info(self):
def collect_cable_info(self):
for ctx in self.device_contexts:
CableCollector().run(self.plugin, ctx)

def collect_pcc_info(self):
if not self.plugin.get_option("pcc", default=False):
return

for ctx in self.device_contexts:
PccCollector().run(self.plugin, ctx)
Loading
Loading