HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/sos/report/plugins/__pycache__/navicli.cpython-38.pyc
U

i��d�	�@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/dist-packages/sos/report/plugins/navicli.py�
check_enabledszNavicli.check_enabledcCs|�dddddg�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_configs�zNavicli.get_navicli_configcCs\|�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
        znavicli -h %s getallznavicli -h %s getsptime -spaznavicli -h %s getsptime -spbznavicli -h %s getlogznavicli -h %s getdiskznavicli -h %s getcacheznavicli -h %s getlunz>navicli -h %s getlun -rg -type -default -owner -crus -capacityznavicli -h %s lunmapinfoznavicli -h %s getcrusznavicli -h %s port -list -allz navicli -h %s storagegroup -listznavicli -h %s spportspeed -getN)Zadd_cmd_output)r
Z
SP_addressrrr�get_navicli_SP_info)s"��zNavicli.get_navicli_SP_infocCsD|��t|�d����D]$}|�d|�ddkr|�|�qdS)Nr	znavicli -h %s getsptimeZstatusr)r�setZ
get_option�splitZexec_cmdr)r
Ziprrr�setup>sz
Navicli.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr�strZoption_listrrrrrrrrrs��rN)Zsos.report.pluginsrrrZ
sos.utilitiesrrrrrr�<module>s