File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/perccli.cpython-38.pyc
U
i��d] � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZdZdZedddd�gZd d
� Z dS )�PercCLIz$PowerEdge RAID Controller management�perccli)�systemZstorageZhardware)r �jsonFzcollect data in JSON format)�defaultZdescc C s� d}dddddddd d
ddg}| � d
�r,dnd}| �� }|D ]&}| jd|||f d||f |d� q<d}| jd|||f d||f |d� d S )Nz/opt/MegaRAID/perccli/perccli64zshow 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%szperccli64_%s%s)Zsuggest_filenameZrunatz/call show eventsz%s %s file=/dev/stdout%s)Z
get_optionZget_cmd_output_pathZadd_cmd_output)�self�cmdZsubcmdsr ZlogpathZsubcmd� r
�</usr/lib/python3/dist-packages/sos/report/plugins/perccli.py�setup s6 �
�
�z
PercCLI.setupN)
�__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