403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/sos/report/plugins/__pycache__/seagate_ses.cpython-39.pyc
a

ܓ�ig�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdZdZdd�Z	d	S)
�
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)�systemZstorageZhardware)Zfwdownloader_megaraidcs�|�d�}g�|ddkr0|d�d�dd���fdd�tt���D�}d	�gd
�}|D]8�|���fdd�|D��|���fdd�|D��qZdS)
Nzfwdownloader -ses�statusr�outputz
SES Device�csg|]}d�|vr|�qS)zVendor ID: SEAGATE�)�.0�i)�op_lstr	�B/usr/lib/python3.9/site-packages/sos/report/plugins/seagate_ses.py�
<listcomp>"s�z$SeagateSES.setup.<locals>.<listcomp>zgetstatus -d)Z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
Zsubcmd��cmd�devidr	r
r=scs g|]}��d��d|���qS)rz -cli r	rrr	r
rAs)Zcollect_cmd_output�split�range�lenZadd_cmd_output)�self�resZdevicesZsubcmdsr	)rrrr
�setups 


���zSeagateSES.setupN)
�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZplugin_timeoutZprofilesZpackagesrr	r	r	r
rsrN)Zsos.report.pluginsrrrr	r	r	r
�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit