| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
([Qh� � �0 � d dl mZmZmZ G d� dee� Zy)� )�Plugin�IndependentPlugin� PluginOptc �D � e Zd ZdZdZdZdZdZ eddd� � gZ d
� Z
d� Zy)
�SMclizSANtricity storage device�smclienti� )�system�storage�hardware)�SMclient�debugFzcapture support debug data)�default�descc �j � g d�}g }| j d� }|d dk( r?|d j � D ]) }d|v s�|j |j � d � �+ |D ]( }| j |D �cg c] }d|� d|� d ���
c}� �* | j d
� r| j
|� y y c c}w )N)zshow storagearray;zshow storagearray connections;zshow storagearray healthstatus;zSMcli -d -S�statusr �output� localhostzSMcli localhost -n � -c '�'r
)�collect_cmd_output�
splitlines�append�split�add_cmd_output�
get_option�do_debug)�self�subcmds�ssnames�result�line�ssname�subcmds �=/usr/lib/python3/dist-packages/sos/report/plugins/smclient.py�setupzSMcli.setup s� � �
�� �� �(�(��7���(��q� ��x�(�3�3�5�
4���$�&��N�N�4�:�:�<��?�3�
4�
� �F����%�!�� &�f�X�U�6�(�!�<�!�
� � �?�?�7�#��M�M�'�"� $��!s �3B0
c �~ � | j d�� }d}d}|D ]"