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__/skydive.cpython-39.pyc
a

^��c#	�@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.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)Zsos.report.pluginsrrrrrrrrr�<module>s