HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/skydive.cpython-39.pyc
a

\��h#	�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�RedHatPlugin�	PluginOptc@sZeZdZdZdZdZdZdZedde	dd	�ed
de	ded	�edde	d
d	�gZ
dd�ZdS)�Skydivez.Skydive network topology and protocol analyzerZskydive)�network)z/usr/bin/skydive�/etc/skydive/skydive.ymlz' (password visible in process listings)�username�zskydive username)�defaultZval_typeZdesc�passwordzskydive password�analyzerzskydive analyzer addresscCs�|�d�|�d�|�d�p4t�dd�p4t�dd�}|�d�pVt�dd�pVt�d	d�}|�d
�plt�dd�}t|||g�s�|j�d
�|tjd<|tjd<|tjd<d}|�|�dS)Nrz/var/log/skydive.logrZSKYDIVE_USERNAMEr	ZOS_USERNAMErZSKYDIVE_PASSWORDZOS_PASSWORDrZSKYDIVE_ANALYZERzlocalhost:8082ziSome or all of the skydive params are not set properly. Skydive status command may  not work as expected.zskydive client status)	Z
add_copy_specZ
get_option�os�getenv�allZsoslogZwarning�environZadd_cmd_output)�selfrrrZ
status_cmd�r�>/usr/lib/python3.9/site-packages/sos/report/plugins/skydive.py�setup%s,



�
�

�
�

�


z
Skydive.setupN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesZpassword_warn_textr�strZoption_listrrrrrrs ����	r)r
Zsos.report.pluginsrrrrrrrr�<module>s