NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/openstack_masakari.cpython-36.pyc
3

~�gT�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s4eZdZdZdZdZdZdZdZd	d
�Z	dd�Z
d
S)�OpenStackMasakarizOpenStack MasakariZopenstack_masakari�	openstack�openstack_controller�masakari-engine�masakari-api�python3-masakariz
/etc/masakaricCsld|j�d�}|j|dd�|j|jg�|jd�rD|jddg�n|jdd	g�|j|j�d
�di�dS)Nzmasakari-manage --config-dirz db versionZmasakari_db_version)Zsuggest_filenameZall_logsz/var/log/masakari/*z/var/log/apache2/masakari*z/var/log/masakari/*.logz/var/log/apache2/masakari*.logz/masakari.confZ
masakari_conf)�
config_dirZadd_cmd_outputZ
add_copy_specZ
get_optionZ
add_file_tags)�selfZmasakari_cmd�r�(/usr/lib/python3.6/openstack_masakari.py�setups


zOpenStackMasakari.setupcCsdddddg}ddg}dj|�}|j|j�d�d	dj|��d
�d�|j|j�d�d	|�d�d
�dS)Nz.*password.*Z
transport_urlZmemcache_secret_keyZrabbit_passwordZ
connectionZsql_connection�|z/*z(^\s*(z
)\s*=\s*)(.*)z\1*********z!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)�joinZdo_path_regex_subr
)rZprotect_keysZconnection_keysZ
join_con_keysrrr
�postproc8s



zOpenStackMasakari.postprocN)rr)rrr	)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZservicesr
rrrrrr
rsrN)Zsos.report.pluginsrrrrrrr
�<module>	s

NineSec Team - 2022