Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g4 � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZd ZdZedddd �gZd d� Z dS )�StorCLIzLSI MegaRAID devices�storcli�system�storage�hardware�jsonFzcollect data in JSON format)�defaultZdescc C s� d}dddddddd d ddg}| j � }| jd �r4dnd}x4|D ],}| j|� d|� |� �d|� |� �|d� q>W d}| j|� d|� d|� �d|� |� �|d� d S )Nz/opt/MegaRAID/storcli/storcli64zshow 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 storcli64_)Zsuggest_filenameZrunatz/call show eventsz file=/dev/stdout)Zget_cmd_output_pathZ get_optionZadd_cmd_output)�self�cmdZsubcmdsZlogpathr Zsubcmd� r �/usr/lib/python3.6/storcli.py�setup s0 z StorCLI.setupN)r r r )r ) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackagesr Zoption_listr r r r r r s r N)Zsos.report.pluginsr r r r r r r r �<module> s