HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
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