| 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 : |
a
ܓ�i � @ s2 d dl m Z d dlmZmZ G dd� dee�ZdS )� )�glob)�Plugin�RedHatPluginc @ s0 e Zd ZdZdZdZdZdZdd� Zdd � Z d
S )�Cmanz,cman based Red Hat Cluster High Availability�cman)Zcluster)Zlucir Z
clusterlib)z/etc/cluster/cluster.confc C s | � g d�� | �g d�� d S )N) z/etc/cluster.confz/etc/clusterz/etc/sysconfig/clusterz/etc/sysconfig/cmanz/var/log/clusterz/etc/fence_virt.confz/var/lib/luci/data/luci.dbz/var/lib/luci/etcz
/var/log/luci)
zcman_tool serviceszcman_tool nodeszcman_tool statuszccs_tool lsnodez
mkqdisk -Lzgroup_tool dumpzfence_tool dumpzfence_tool ls -nZclustatz&rg_test test /etc/cluster/cluster.conf)Z
add_copy_specZadd_cmd_output)�self� r �;/usr/lib/python3.9/site-packages/sos/report/plugins/cman.py�setup s z
Cman.setupc C s. t d�D ]}| �|dd� q| �ddd� d S )Nz/etc/cluster/cluster.conf*z.(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")z\1"***"z/var/lib/luci/etc/.*\.iniz(.*secret\s*=\s*)\S+z\1******)r Zdo_file_subZdo_path_regex_sub)r Zcluster_confr r r �postproc3 s ��z
Cman.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�filesr
r r r r r r
s r N)r Zsos.report.pluginsr r r r r r r �<module> s