NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/navicli.cpython-36.opt-1.pyc
3

~�g�	�@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|�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 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_infocCsL|j�x>t|jd�j��D](}|jd|�d��ddkr|j|�qWdS)Nr
znavicli -h z
 getsptimeZstatusr)r�setZ
get_option�splitZexec_cmdr)r
Zaddrrrr�setup>sz
Navicli.setupN)rr	)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr�strZoption_listrrrrrrrrrs
rN)Zsos.report.pluginsrrrZ
sos.utilitiesrrrrrr�<module>s

NineSec Team - 2022