NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/cman.cpython-36.opt-1.pyc
3

~�g �@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�RedHatPluginc@s0eZdZdZdZdZd
ZdZdd�Zd	d
�Z	dS)�Cmanz,cman based Red Hat Cluster High Availability�cman�cluster�luci�
clusterlib�/etc/cluster/cluster.confcCs>|jddddddddd	g	�|jd
ddd
ddddddg
�dS)Nz/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/lucizcman_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.6/cman.py�setups*z
Cman.setupcCs2xtd�D]}|j|dd�q
W|jddd�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_confrrr
�postproc3s
z
Cman.postprocN)r)rrr	)r
)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackages�filesrrrrrr
r
srN)rZsos.report.pluginsrrrrrrr
�<module>	s

NineSec Team - 2022