aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/infiniband.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/sos/plugins/infiniband.py b/sos/plugins/infiniband.py
index b0437d7b..687b8d65 100644
--- a/sos/plugins/infiniband.py
+++ b/sos/plugins/infiniband.py
@@ -23,20 +23,27 @@ class Infiniband(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
plugin_name = 'infiniband'
profiles = ('hardware',)
- packages = ('libibverbs-utils',)
+ packages = ('libibverbs-utils', 'opensm', 'rdma', 'infiniband-diags')
def setup(self):
self.add_copy_spec([
"/etc/ofed/openib.conf",
- "/etc/ofed/opensm.conf"
+ "/etc/ofed/opensm.conf",
+ "/etc/rdma"
])
+ self.add_copy_spec_limit("/var/log/opensm*",
+ sizelimit=self.get_option("log_size"))
+
self.add_cmd_output([
"ibv_devices",
"ibv_devinfo",
"ibstat",
"ibstatus",
- "ibhosts"
+ "ibhosts",
+ "iblinkinfo",
+ "sminfo",
+ "perfquery"
])
return