%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/shmcli.cpython-312.pyc |
� i��d� � �0 � d dl mZmZmZ G d� dee� Zy)� )�Plugin�IndependentPlugin� PluginOptc �D � e Zd ZdZdZdZdZdZefZ e ddd� � gZ d � Zy)�SHMclia shmcli pulls hardware information from PowerVault/Dell Storage JBOD's attached to server. It provides information of the adapters, emms, drives, enclosures, fans, power supplies and the sensory data of temp, voltage, and current sensors. zDell Server Hardware Manager�shmcli)�system�storage�hardwarezC/opt/dell/ServerHardwareManager/ServerHardwareManagerCLI/bin/shmcli�debugFzcapture support debug data)�default�descc �� �� | j }g d�}|D ] }| j |�d|��d|z �� � g }| j d� }|d dk( rp|d j � D ]Z }|j � }t |� d kD s�"|d j � d k( s�9|j |j � d � �\ t t |� � }g d�}| j d |z d�� }|d dk( r�|d j � d d D ]� }|j � �t �fd�|D � � s�(�d }�d } |D ]4 }|�d|�d|�d| ��} | j |d� }| j | |�� �6 | j d� s�}| j d�� }|�d|�d| ��} | j |d� }d|z }| j | |z |d�� �� | j d|z d�� }|d dk( ro|d j � D ]X }|j � }t |� dkD s�"|d dvs�*|�d |d ��} | j |d� }| j | |�� �Z y y )!N)z list adapterszlist physical enclosureszlist failed drives� z shmcli_%s)�suggest_filenamez lsscsi -g�statusr �output� �DELL� ) z list emmszlist drawerszlist emm slotszlist drive slotsz list fanszlist temp sensorszlist voltage sensorszlist current sensorszlist power supplieszinfo enclosurez%s list enclosures�shmcli_list_enclosures���c 3 �&