HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/navicli.cpython-39.pyc
a

\��h�	�@s6ddlmZmZmZddlmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOpt��
is_executablec@sJeZdZdZdZdZeddedd�gZdd	�Z	d
d�Z
dd
�Zdd�ZdS)�NaviclizEMC Navicli�navicli)ZstorageZhardware�ipaddrs�z-space-delimited list of CLARiiON IP addresses)�defaultZval_typeZdesccCstd�S)Nrr��self�r�>/usr/lib/python3.9/site-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)Z
add_copy_specrrrr�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)Zadd_cmd_output)r
Z
sp_addressrrr�get_navicli_sp_info)s












�zNavicli.get_navicli_sp_infocCsH|��t|�d����D](}|�d|�d��ddkr|�|�qdS)Nr	rz
 getsptime�statusr)r�setZ
get_option�splitZexec_cmdr)r
�addrrrr�setup>sz
Navicli.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr�strZoption_listrrrrrrrrrs��rN)Zsos.report.pluginsrrrZ
sos.utilitiesrrrrrr�<module>s