https://t.me/RX1948
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/navicli.cpython-310.pyc
o

-�_g�	�@s6ddlmZmZmZddlmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOpt��
is_executablec@sJeZdZdZdZdZeddedd�gZdd	�Z	d
d�Z
dd
�Zdd�ZdS)�NaviclizEMC Navicli�navicli)�storage�hardware�ipaddrs�z-space-delimited list of CLARiiON IP addresses)�default�val_type�desccCstd�S)Nrr��self�r�</usr/lib/python3/dist-packages/sos/report/plugins/navicli.py�
check_enabledszNavicli.check_enabledcCs|�gd��dS)zH EMC Navisphere Host Agent NAVICLI specific information - files
        )z/etc/Navisphere/agent.configz/etc/Navisphere/Navimon.cfgz/etc/Navisphere/Quietmode.cfgz/etc/Navisphere/messages/[a-z]*z/etc/Navisphere/log/[a-z]*N)�
add_copy_specrrrr�get_navicli_configszNavicli.get_navicli_configcCs�|�d|�d�d|�d�d|�d�d|�d�d|�d�d|�d�d|�d�d|�d	�d|�d
�d|�d�d|�d�d|�d
�d|�d�g
�dS)z^ EMC Navisphere Host Agent NAVICLI specific
        information - CLARiiON - commands
        �navicli -h z getallz getsptime -spaz getsptime -spbz getlogz getdiskz	 getcachez getlunz1 getlun -rg -type -default -owner -crus -capacityz lunmapinfoz getcrusz port -list -allz storagegroup -listz spportspeed -getN)�add_cmd_output)r�
sp_addressrrr�get_navicli_sp_info)s













�zNavicli.get_navicli_sp_infocCsH|��t|�d����D]}|�d|�d��ddkr!|�|�q
dS)Nrrz
 getsptime�statusr)r�set�
get_option�split�exec_cmdr)r�addrrrr�setup>s
��z
Navicli.setupN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr�str�option_listrrrr!rrrrrs��rN)�sos.report.pluginsrrr�
sos.utilitiesrrrrrr�<module>s

https://t.me/RX1948 - 2025