HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/navicli.cpython-36.pyc
3

3��d�	�@s6ddlmZmZmZddlmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOpt)�
is_executablec@sJeZdZdZdZdZeddedd�gZd	d
�Z	dd�Z
d
d�Zdd�ZdS)�NaviclizEMC Navicli�navicli�storage�hardware�ipaddrs�z-space-delimited list of CLARiiON IP addresses)�defaultZval_typeZdesccCstd�S)Nr)r)�self�r�/usr/lib/python3.6/navicli.py�
check_enabledszNavicli.check_enabledcCs|jdddddg�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_spec)r
rrr�get_navicli_configszNavicli.get_navicli_configcCs\|jd|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)szNavicli.get_navicli_SP_infocCsH|j�x:t|jd�j��D]$}|jd|�ddkr|j|�qWdS)Nr
znavicli -h %s getsptimeZstatusr)r�setZ
get_option�splitZexec_cmdr)r
Ziprrr�setup>sz
Navicli.setupN)rr	)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr�strZoption_listrrrrrrrrrs
rN)Zsos.report.pluginsrrrZ
sos.utilitiesrrrrrr�<module>s