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 ~ �gD � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZd ZdZedddd �gZd d� Z dS )�PercCLI2z&PowerEdge RAID Controller 2 management�perccli2�system�storage�hardware�jsonFzcollect data in JSON format)�defaultZdescc C s� d}dddddddd d ddg}| j d �r,dnd}| j� }x4|D ],}| j|� d|� |� �d|� |� �|d� q>W d}| j|� d|� d|� �d|� |� �|d� d S )Nz/opt/MegaRAID/perccli2/perccli2zshow 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 perccli2_)Zsuggest_filenameZrunatz/call show eventsz file=/dev/stdout)Z get_optionZget_cmd_output_pathZadd_cmd_output)�self�cmdZsubcmdsr ZlogpathZsubcmd� r �/usr/lib/python3.6/perccli2.py�setup s0 zPercCLI2.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