diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-12-11 18:55:19 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-12-11 18:55:19 +0000 |
commit | d592cf413b3d9ccb8245cf6409fec3a145da2135 (patch) | |
tree | db91a60b5e40bd4f2d23a51f6e89dea2e42fa091 | |
parent | e5284a8492c2d435e923144b12ab78b45647a7d4 (diff) | |
download | sos-d592cf413b3d9ccb8245cf6409fec3a145da2135.tar.gz |
Add more commands to iscsi initiator module
Add additional iscsiadm command collection to the iscsi module
and check for the iscsi-initiator-utils package on Red Hat systems.
-rw-r--r-- | sos/plugins/iscsi.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sos/plugins/iscsi.py b/sos/plugins/iscsi.py index 3c7c1bfd..c02b9f62 100644 --- a/sos/plugins/iscsi.py +++ b/sos/plugins/iscsi.py @@ -24,10 +24,16 @@ class iscsi(Plugin): class RedHatIscsi(iscsi, RedHatPlugin): """iscsi-initiator related information Red Hat based distributions """ + + packages = ('iscsi-initiator-utils',) + def setup(self): super(RedHatIscsi, self).setup() self.addCopySpecs([ "/etc/iscsi/iscsid.conf", "/etc/iscsi/initiatorname.iscsi", "/var/lib/iscsi"]) - + self.collectExtOutput("iscsiadm -m session -P 3") + self.collectExtOutput("iscsiadm -m node -P 3") + self.collectExtOutput("iscsiadm -m iface -P 1") + self.collectExtOutput("iscsiadm -m node --op=show") |