| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i� � @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�IndependentPluginc @ s$ e Zd ZdZdZdZdZdd� ZdS )�ArcConfz�
The ArcConf plugin is meant for sas adapters, and will collect logs and
information for each RAID adapter discovered on the system.
z+arcconf Integrated RAID adapter information�arcconf)r c C s� | � d�}|d dkr�|d �� D ]^}zBt�d|��d�}|�� d }|rf| �d|� �d|� d �g� W q" ty~ Y q"Y q"0 q"d S )
Nzarcconf list�statusr �outputz^[\s]*Controller (\d)+� zarcconf getconfig zarcconf GETLOGS z UART)Zcollect_cmd_output�
splitlines�re�match�group�splitZadd_cmd_output�AttributeError)�selfZlistarcconf�liner Z
controller_id� r �>/usr/lib/python3.9/site-packages/sos/report/plugins/arcconf.py�setup s
�
z
ArcConf.setupN)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZcommandsr r r r r r s
r )r
Zsos.report.pluginsr r r r r r r �<module>
s