![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
o i��dP � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZdZdZedddd�gZd d � Z dS )�StorCLIzLSI MegaRAID devices�storcli)�system�storage�hardware)r �jsonFzcollect data in JSON format)�default�descc C s| d}g d�}| � � }| �d�rdnd}|D ]}| jd|||f d||f |d� qd }| jd |||f d||f |d� d S )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�setup s � �z StorCLI.setupN) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr �option_listr r r r r r s �r N)�sos.report.pluginsr r r r r r r r �<module> s