https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/smclient.cpython-310.pyc
o

-�_g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s@eZdZdZdZdZdZdZedddd	�gZ	d
d�Z
dd
�ZdS)�SMclizSANtricity storage device�smclienti�)�system�storage�hardware)�SMclient�debugFzcapture support debug data)�default�desccs�gd�}g}|�d�}|ddkr'|d��D]}d|vr&|�|��d�q|D]�|��fdd�|D��q)|�d	�rD|�|�dSdS)
N)zshow storagearray;zshow storagearray connections;zshow storagearray healthstatus;zSMcli -d -S�statusr�output�	localhostcsg|]}d��d|�d��qS)zSMcli localhost -n � -c '�'�)�.0�subcmd��ssnamer�=/usr/lib/python3/dist-packages/sos/report/plugins/smclient.py�
<listcomp>+s��zSMcli.setup.<locals>.<listcomp>r)�collect_cmd_output�
splitlines�append�split�add_cmd_output�
get_option�do_debug)�self�subcmds�ssnames�result�linerrr�setups
�
�
�zSMcli.setupc
CsJ|jdd�}d}d}|D]}|j|�d|�d|�d|�d�|d	d
�qdS)z Collect debug logs F)�makezSMcli localhost -nz#save storageArray supportData file=� rz	"support-z";'i�)�runat�timeoutN)�get_cmd_output_pathr)r!r#�logpath�cmdrrrrrr 3s��zSMcli.do_debugN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�plugin_timeout�profiles�packagesr�option_listr&r rrrrrs�rN)�sos.report.pluginsrrrrrrrr�<module>s

https://t.me/RX1948 - 2025