HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/veritas.cpython-39.opt-1.pyc
a

^��cK�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@s8eZdZdZdZdZedddd�gZdd	�Zd
d�Z	dS)
�VeritaszVeritas softwareZveritas)ZclusterZstorage�scriptz/opt/VRTSspt/VRTSexplorerzPath to VRTSexploer script)�defaultZdesccCs|�|�d��S)Nr)Zpath_isfile�
get_option)�self�r
�>/usr/lib/python3.9/site-packages/sos/report/plugins/veritas.py�
check_enabledszVeritas.check_enabledcCs`|�|�d��}|ddkr\d}|dD]}|��}|�d|�}q(t|�dkr\|�|d�dS)	z= interface with vrtsexplorer to capture veritas related data r�statusr��outputzftp (.*tar.gz)�N)Zexec_cmdr�stripZdo_regex_find_all�lenZ
add_copy_spec)r	�r�tarfile�liner
r
r�setupsz
Veritas.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_listrrr
r
r
rrs��rN)Zsos.report.pluginsrrrrr
r
r
r�<module>	s