NineSec Team Shell
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  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/dellrac.cpython-36.pyc
3

~�g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZeddd	d
�gZdZ	dZ
d
d�Zdd�ZdS)�DellRACz,Dell Remote Access Controller AdministrationZdellrac�system�storage�hardware�srvadmin-idracadm7�debugFzcapture support assist data)�defaultZdescz /opt/dell/srvadmin/bin/idracadm7Z	idracadm7cCsJx2dD]*}|j|j�d|��|j�d|��d�qW|jd�rF|j�dS)N�	getniccfg�
getsysinfo� �_)�suggest_filenamer
)rr
)�add_cmd_output�racadm�prefixZ
get_option�do_debug)�self�subcmd�r�/usr/lib/python3.6/dellrac.py�setups

z
DellRAC.setupcCs`y|j�}Wn tk
r,|jdd�}YnXd}|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 -frz support.zipr)ZrunatrN)Zget_cmd_output_path�FileExistsErrorrrr)rZlogpathrrrrr$szDellRAC.do_debugN)rrr)r	)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrrrrrrrrrs	rN)Zsos.report.pluginsrrrrrrrr�<module>	s

NineSec Team - 2022