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__/ipmitool.cpython-36.opt-1.pyc
3

~�g�@s,ddlmZmZmZGdd�deee�ZdS)�)�Plugin�RedHatPlugin�DebianPluginc@s$eZdZdZdZdZd	Zdd�ZdS)
�IpmiToolzIpmiTool hardware information�ipmitool�hardware�systemc
Cs�d}|jd�}|ddkr"|d7}x4dD],}x&dD]}|j|�d|�d|���q2Wq(W|j|�d�|�d
�|�d�|�d�|�d�|�d�|�d�|�d�|�d�|�d�|�d�g�dS)Nrzipmitool -I usb mc infoZstatusrz -I usb�channel info�channel getaccess�	lan print��� z raw 0x30 0x65z raw 0x30 0xb0z	 sel infoz
 sel elistz sel list -vz sensor listz chassis statusz
 lan printz
 fru printz mc infoz	 sdr info)r	r
r)rr
)Zcollect_cmd_outputZadd_cmd_output)�self�cmd�resultZsubcmdZchannel�r�/usr/lib/python3.6/ipmitool.py�setups&


"zIpmiTool.setupN)rr)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>s

NineSec Team - 2022