![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
o i��dK � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin� PluginOptc @ s8 e Zd ZdZdZdZedddd�gZdd � Zd d� Z dS ) �VeritaszVeritas software�veritas)�cluster�storage�scriptz/opt/VRTSspt/VRTSexplorerzPath to VRTSexploer script)�default�descc C s | � | �d��S )Nr )�path_isfile� get_option)�self� r �</usr/lib/python3/dist-packages/sos/report/plugins/veritas.py� check_enabled s zVeritas.check_enabledc C sh | � | �d��}|d dkr0d}|d D ]}|�� }| �d|�}qt|�dkr2| �|d � dS dS dS ) z= interface with vrtsexplorer to capture veritas related data r �statusr � �outputzftp (.*tar.gz)� N)�exec_cmdr �strip�do_regex_find_all�len� add_copy_spec)r �r�tarfile�liner r r �setup s �z Veritas.setupN) �__name__� __module__�__qualname__� short_desc�plugin_name�profilesr �option_listr r r r r r r s ��r N)�sos.report.pluginsr r r r r r r r �<module> s