HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/skydive.cpython-38.pyc
U

i��d#	�@s2ddlmZmZmZddlZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptNc@sZeZdZdZdZdZdZdZedde	dd	�ed
de	ded	�edde	d
d	�gZ
dd�ZdS)�Skydivez.Skydive network topology and protocol analyzerZskydive)Znetwork)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_USERNAMErZOS_USERNAMEr
ZSKYDIVE_PASSWORDZOS_PASSWORDrZSKYDIVE_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)�selfrr
rZ
status_cmd�r�</usr/lib/python3/dist-packages/sos/report/plugins/skydive.py�setup%s,



�
�

�
�

�


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