aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2016-06-03 15:05:08 +0100
committerBryn M. Reeves <bmr@redhat.com>2016-06-03 15:05:08 +0100
commit6c8147ca297937e0b7b1407bafb7f2548b7a3e12 (patch)
tree614dc26438842fc6cc94d38833131876e52648c7
parent8e82c10c05e0e2c36554de394d979a32ed0ae924 (diff)
downloadsos-6c8147ca297937e0b7b1407bafb7f2548b7a3e12.tar.gz
[ipmi] Fix ipmitool options
As per ipmitool man page 'bmc' option is deprecreated. Instead use 'mc' option to get BMC information. Also we don't have 'sel log' option. Use 'sel list' option to get SEL log information. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com> --- sos/plugins/ipmitool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
-rw-r--r--sos/plugins/ipmitool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/ipmitool.py b/sos/plugins/ipmitool.py
index 41eaebcf..6c9c531b 100644
--- a/sos/plugins/ipmitool.py
+++ b/sos/plugins/ipmitool.py
@@ -28,11 +28,11 @@ class IpmiTool(Plugin, RedHatPlugin, DebianPlugin):
def setup(self):
self.add_cmd_output([
"ipmitool sel info",
- "ipmitool sel log",
+ "ipmitool sel list",
"ipmitool sensor list",
"ipmitool chassis status",
"ipmitool fru print",
- "ipmitool bmc info",
+ "ipmitool mc info",
"ipmitool sdr info"
])