HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/cman.cpython-39.pyc
a

\��h �@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�RedHatPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�Cmanz,cman based Red Hat Cluster High Availability�cman)Zcluster)ZlucirZ
clusterlib)z/etc/cluster/cluster.confcCs |�gd��|�gd��dS)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�setupsz
Cman.setupcCs.td�D]}|�|dd�q|�ddd�dS)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******)rZdo_file_subZdo_path_regex_sub)rZcluster_confrrr	�postproc3s��z
Cman.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�filesr
rrrrr	r
srN)rZsos.report.pluginsrrrrrrr	�<module>	s