HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/storcli.cpython-39.opt-1.pyc
a

\��h4�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s4eZdZdZdZdZdZedddd�gZd	d
�Z	dS)�StorCLIzLSI MegaRAID devices�storcli)�systemZstorageZhardware)r�jsonFzcollect data in JSON format)�defaultZdesccCs�d}gd�}|��}|�d�r"dnd}|D],}|j|�d|�|��d|�|��|d�q*d	}|j|�d|�d
|��d|�|��|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 allrz J�� Z
storcli64_)Zsuggest_filenameZrunatz/call show eventsz file=/dev/stdout)Zget_cmd_output_pathZ
get_optionZadd_cmd_output)�self�cmdZsubcmdsZlogpathrZsubcmd�r�>/usr/lib/python3.9/site-packages/sos/report/plugins/storcli.py�setups ��z
StorCLI.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrrrrrrs�rN)Zsos.report.pluginsrrrrrrrr�<module>	s