| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i� � @ s6 d dl mZmZmZ d dlmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin� PluginOpt��
is_executablec @ sJ e Zd ZdZdZdZeddedd�gZdd � Z d
d� Z
dd
� Zdd� ZdS )�NaviclizEMC Navicli�navicli)ZstorageZhardware�ipaddrs� z-space-delimited list of CLARiiON IP addresses)�defaultZval_typeZdescc C s t d�S )Nr r ��self� r �>/usr/lib/python3.9/site-packages/sos/report/plugins/navicli.py�
check_enabled s zNavicli.check_enabledc C s | � g d�� 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 r r r �get_navicli_config s zNavicli.get_navicli_configc C s� | � 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_addressr r r �get_navicli_sp_info) s
�zNavicli.get_navicli_sp_infoc C sH | � � t| �d��� �D ](}| �d|� d��d dkr| �|� qd S )Nr r z
getsptime�statusr )r �setZ
get_option�splitZexec_cmdr )r
�addrr r r �setup>