HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/storcli.cpython-310.pyc
o

���bP�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s4eZdZdZdZdZdZedddd�gZd	d
�Z	dS)�StorCLIzLSI MegaRAID devices�storcli)�system�storage�hardware)r�jsonFzcollect data in JSON format)�default�desccCs|d}gd�}|��}|�d�rdnd}|D]}|jd|||fd||f|d�qd	}|jd
|||fd||f|d�dS)Nz/opt/MegaRAID/storcli/storcli64)zshow ctrlcountz/call show AliLogz/call show allz/call show termlogz/call/bbu show allz/call/cv show allz/call/dall showz/call/eall show allz/call/eall/sall show allz/call/sall show allz/call/vall show allr
z J�z%s %s%szstorcli64_%s%s)�suggest_filename�runatz/call show eventsz%s %s file=/dev/stdout%s)�get_cmd_output_path�
get_option�add_cmd_output)�self�cmd�subcmds�logpathr
�subcmd�r�</usr/lib/python3/dist-packages/sos/report/plugins/storcli.py�setups 
�

�z
StorCLI.setupN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listrrrrrrs�rN)�sos.report.pluginsrrrrrrrr�<module>s