403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

ܓ�i�	�@sZddlZddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�N)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZd	Zd
Zdd�Zdd�ZdS)�CorosynczCorosync cluster engine�corosync�clustercCs�|jdddg�|jdddddd	d
g�|jddd
�|jd�d}|j|�sRdSd}yZ|jd�}t|ddd��8}x0|D](}tj||�rx|jtj||�j	d��qxWWdQRXWn8t
k
r�}z|jd|�d|���WYdd}~XnXdS)Nz
/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)Ztagszkillall -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.6/corosync.py�setups6



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

Youez - 2016 - github.com/yon3zu
LinuXploit