Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o -�_g � @ s, d dl mZmZmZ G dd� deee�ZdS )� )�Plugin�RedHatPlugin�DebianPluginc @ s$ e Zd ZdZdZdZdZdd� ZdS )�IpmiToolzIpmiTool hardware information�ipmitool)�hardware�system)r c C s� d}| � d�}|d dkr|d7 }dD ]}dD ]}| �|� d|� d|� �� qq| �|� d �|� d �|� d�|� d�|� d �|� d�|� d�|� d�|� d�|� d�|� d�g� d S )Nr zipmitool -I usb mc info�statusr z -I usb)zchannel infozchannel getaccessz 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)�collect_cmd_output�add_cmd_output)�self�cmd�result�subcmd�channel� r �=/usr/lib/python3/dist-packages/sos/report/plugins/ipmitool.py�setup s* � �zIpmiTool.setupN)�__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr r r r r r s r N)�sos.report.pluginsr r r r r r r r �<module> s