| Server IP : 186.64.123.29 / Your IP : 216.73.217.94 Web Server : LiteSpeed System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : tuemp9827 ( 1016) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o
O6uf�
� @ s2 d dl Z d dlmZmZmZ G dd� dee�ZdS )� N)�Plugin�IndependentPlugin� PluginOptc @ s@ e Zd ZdZdZdZdZdZedddd �gZ d
d� Z
dd
� ZdS )�HpssmaG
This plugin will capture details for each controller from Smart Storage
Array Administrator, an Array diagnostic report from Smart Storage
Administrator Diagnostics Utility and, when the plugins debug option is
enabled will gather the Active Health System log via the RESTful Interface
Tool (iLOREST).
zHP Smart Storage Management�hpssm)�system�storage�hardware)�ilorest�ssacli�ssaducli�debugFzcapture debug data)�default�descc s� d� dg}g d��| � � fdd�|D �� t�d��� d }| �|�}g }|d d kr8�fd
d�|d �� D �}� d �| � ��fd
d�|D �� | �� }| j d|� d�dd� | �d�rd| �|� d S d S )Nr zctrl all show status)zarray all show detailzld all showzld all show detailzpd all showzpd all show detailzshow detailc s g | ] }� � d |� ��qS �� � )�.0�subcmd)�cmdr �:/usr/lib/python3/dist-packages/sos/report/plugins/hpssm.py�
<listcomp>- s zHpssm.setup.<locals>.<listcomp>z#^HP[E] (.*) in Slot ([0123456789]+)z ctrl all show config detail�statusr c s$ g | ]}� � |�}|r|�d ��qS )� )�search�group)r �line�m)�patternr r r 5 s ��outputz ctrl slot=c s( g | ]}� D ]}�� |� d |� ��qqS r r )r �slot�slot_subcmd)�slot_subcmds�ssacli_ctrl_slot_cmdr r r : s ��zssaducli -v -adu -f z/adu-log.zipzssaducli_-v_-adu.log)�suggest_filenamer
)�add_cmd_output�re�compile�collect_cmd_output�
splitlines�get_cmd_output_path�
get_option�do_debug)�self�subcmds�config_detail_cmd�
config_detail�
ctrl_slots�logpathr )r r r"