| 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 : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i� � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ sD e Zd ZdZdZdZdZedddd�gZd Z d
Z
dd� Zd
d� ZdS )�DellRACz,Dell Remote Access Controller AdministrationZdellrac)�systemZstorageZhardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�defaultZdescz /opt/dell/srvadmin/bin/idracadm7Z idracadm7c C sF dD ]*}| j | j� d|� �| j� d|� �d� q| �d�rB| �� d S )N)Z getniccfgZ
getsysinfo� �_)�suggest_filenamer )�add_cmd_output�racadm�prefixZ
get_option�do_debug)�self�subcmd� r �>/usr/lib/python3.9/site-packages/sos/report/plugins/dellrac.py�setup s �
z
DellRAC.setupc C s^ z| � � }W n ty* | j dd�}Y n0 d}| j| j� d|� d�|| j� d|� �d� dS ) z�
Ensure the sos_commands/dellrac directory does exist in either case
as we will need to run the command at that dir, and also ensure
logpath is properly populated in either case as well.
F)Zmakezsupportassist collect -fr z support.zipr
)Zrunatr N)Zget_cmd_output_path�FileExistsErrorr r
r )r Zlogpathr r r r r $ s �zDellRAC.do_debugN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr Zoption_listr
r r r r r r r r s � r N)Zsos.report.pluginsr r r r r r r r �<module> s