diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-12-11 19:29:35 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-12-11 19:29:35 +0000 |
commit | ddbfef70b8e218bba8ecdfbfae5e0986950ff61b (patch) | |
tree | 63e65637b04754cc516a15cb705add3fea00b23b | |
parent | d4a7d00e3323ee7a0d7a4ec82fbdc562f12a1d7d (diff) | |
download | sos-ddbfef70b8e218bba8ecdfbfae5e0986950ff61b.tar.gz |
Collect additional files and command output for infiniband
Collect output of ibstat, ibstatus, ibhosts and the opensm and
openib configuration files.
-rw-r--r-- | sos/plugins/infiniband.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sos/plugins/infiniband.py b/sos/plugins/infiniband.py index 9601146e..1afb4826 100644 --- a/sos/plugins/infiniband.py +++ b/sos/plugins/infiniband.py @@ -1,4 +1,4 @@ -## Copyright (C) 2011, 2012 Red Hat, Inc. +## Copyright (C) 2011, 2012 Red Hat, Inc., Bryn M. Reeves <bmr@redhat.com> ### This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -26,7 +26,14 @@ class infiniband(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): return False def setup(self): + self.addCopySpecs([ + "/etc/ofed/openib.conf", + "/etc/ofed/opensm.conf"]) + self.collectExtOutput("/usr/bin/ibv_devices") self.collectExtOutput("/usr/bin/ibv_devinfo") - return + self.collectExtOutput("/usr/sbin/ibstat") + self.collectExtOutput("/usr/sbin/ibstatus") + self.collectExtOutput("/usr/sbin/ibhosts") + return |