aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Goel <vikas.goel@veritas.com>2021-07-13 16:04:03 -0700
committerJake Hunsaker <jhunsake@redhat.com>2021-07-30 10:11:56 -0400
commit52f7923aa0f7d76fe52a2db9a7873017a6886f2c (patch)
treeac57374f11aba894aee637eae10debe5ba531e87
parent88a3afd6bcdd2bb3b2fda4c1c1d7c3bca4ee2c06 (diff)
downloadsos-52f7923aa0f7d76fe52a2db9a7873017a6886f2c.tar.gz
[ipmitool] Include channel, raw, and lan information.
Signed-off-by: Vikas Goel <vikas.goel@gmail.com>
-rw-r--r--sos/report/plugins/ipmitool.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sos/report/plugins/ipmitool.py b/sos/report/plugins/ipmitool.py
index f052a07d..1738a287 100644
--- a/sos/report/plugins/ipmitool.py
+++ b/sos/report/plugins/ipmitool.py
@@ -26,13 +26,21 @@ class IpmiTool(Plugin, RedHatPlugin, DebianPlugin):
if result['status'] == 0:
cmd += " -I usb"
+ # raw 0x30 0x65: Get HDD drive Fault LED State
+ # raw 0x30 0xb0: Get LED Status
+
self.add_cmd_output([
+ "%s channel info 3" % cmd,
+ "%s channel getaccess 3" % cmd,
+ "%s raw 0x30 0x65" % cmd,
+ "%s raw 0x30 0xb0" % cmd,
"%s sel info" % cmd,
"%s sel elist" % cmd,
"%s sel list -v" % cmd,
"%s sensor list" % cmd,
"%s chassis status" % cmd,
"%s lan print" % cmd,
+ "%s lan print 3" % cmd,
"%s fru print" % cmd,
"%s mc info" % cmd,
"%s sdr info" % cmd