HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/cman.cpython-310.pyc
o

-�_g �@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�RedHatPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�Cmanz,cman based Red Hat Cluster High Availability�cman)�cluster)�lucir�
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 -n�clustatz&rg_test test /etc/cluster/cluster.conf)�
add_copy_spec�add_cmd_output)�self�r�9/usr/lib/python3/dist-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******)r�do_file_sub�do_path_regex_sub)r
�cluster_confrrr�postproc3s��z
Cman.postprocN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�filesrrrrrrr
srN)r�sos.report.pluginsrrrrrrr�<module>s