HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/veritas.cpython-36.pyc
3

-�_gQ�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@s8eZdZdZdZdZedddd�gZd	d
�Zdd�Z	d
S)�VeritaszVeritas softwareZveritas�cluster�storage�scriptz/opt/VRTSspt/VRTSexplorerzPath to VRTSexploer script)�defaultZdesccCs|j|jd��S)Nr)Zpath_isfile�
get_option)�self�r�/usr/lib/python3.6/veritas.py�
check_enabledszVeritas.check_enabledcCsd|j|jd��}|ddkr`d}x$|dD]}|j�}|jd|�}q*Wt|�dkr`|j|d�dS)	z= interface with vrtsexplorer to capture veritas related data rZstatusr��outputzftp (.*tar.gz)�N)Zexec_cmdr
�stripZdo_regex_find_all�lenZ
add_copy_spec)r�retZtarfile�linerrr
�setupsz
Veritas.setupN)rr)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_listrrrrrr
rs
rN)Zsos.report.pluginsrrrrrrrr
�<module>	s