HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/seagate_ses.cpython-36.pyc
3

\��hg�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdZd
Zd	d
�Z	dS)�
SeagateSESaThe seagate_ses plugin collect information about all
    connected seagate storage shelves.
    It captures Controller status information, ID, controllers' VPD
    information, Environmental zone, Drive, PHY details, Cooling Module
    and PSU information.
    zSeagate SES statusZseagate_sesiX�system�storage�hardware�fwdownloader_megaraidcs�|jd�}g�|ddkr0|djd�dd���fdd�tt���D�}d	�d
ddd
dddddddddddddg}x@|D]8�|j��fdd�|D��|j��fdd�|D��qzWdS)Nzfwdownloader -sesZstatusr�outputz
SES Device�csg|]}d�|kr|�qS)zVendor ID: SEAGATE�)�.0�i)�op_lstr�!/usr/lib/python3.6/seagate_ses.py�
<listcomp>#sz$SeagateSES.setup.<locals>.<listcomp>zgetstatus -dZddump_canmgrZddump_cblmgrZddump_drvmgrZ
dumpdrivesZddump_phycountersZddump_pwrmgrZ
ddump_envctrlZenvctrl_fanZenvctrl_zoneZfwstatusZ
getboardidZgetvpdZ
report_faultsZverZlogdumpZphydumpzses_reportpage 2cs g|]}��d��d|���qS)� z -CLI r)r�subcmd)�cmd�devidrrr>scs g|]}��d��d|���qS)rz -cli r)rr)rrrrrBs)Zcollect_cmd_output�split�range�lenZadd_cmd_output)�self�resZdevicesZsubcmdsr)rrrr�setups8

zSeagateSES.setupN)rrr)r)
�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZplugin_timeoutZprofilesZpackagesrrrrrrsrN)Zsos.report.pluginsrrrrrrr�<module>	s