HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/skydive.cpython-36.opt-1.pyc
3

-�_g#	�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�RedHatPlugin�	PluginOptc@sZeZdZdZdZdZdZdZedde	d	d
�edde	ded
�ed
de	dd
�gZ
dd�ZdS)�Skydivez.Skydive network topology and protocol analyzerZskydive�network�/usr/bin/skydive�/etc/skydive/skydive.ymlz' (password visible in process listings)�username�zskydive username)�defaultZval_typeZdesc�passwordzskydive password�analyzerzskydive analyzer addresscCs�|jd�|jd�|jd�p4tjdd�p4tjdd�}|jd�pVtjdd�pVtjd	d�}|jd
�pltjdd�}t|||g�s�|jjd
�|tjd<|tjd<|tjd<d}|j|�dS)Nz/etc/skydive/skydive.ymlz/var/log/skydive.logr	ZSKYDIVE_USERNAMEr
ZOS_USERNAMErZSKYDIVE_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)�selfr	rr
Z
status_cmd�r�/usr/lib/python3.6/skydive.py�setup%s"







z
Skydive.setupN)r)rr)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesZpassword_warn_textr�strZoption_listrrrrrrs

r)rZsos.report.pluginsrrrrrrrr�<module>s