Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
� i��d/ � �8 � d dl mZmZ d dlmZ G d� dee� Zy)� )�Plugin�RedHatPlugin)�globc �, � e Zd ZdZdZdZdZdZd� Zd� Z y) �Cmanz,cman based Red Hat Cluster High Availability�cman)�cluster)�lucir � clusterlib)z/etc/cluster/cluster.confc �P � | j g d�� | j g d�� y )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)�selfs �9/usr/lib/python3/dist-packages/sos/report/plugins/cman.py�setupz Cman.setup s* � ���� � � ��� � � c �p � t d� D ] }| j |dd� � | j ddd� y )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_confs r �postprocz Cman.postproc3 sL � � �!=�>� �L�����A�� � � ���(�#�� � r N) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packages�filesr r � r r r r s% � �?�J��K��H�-�H�*�E��6 r r N)�sos.report.pluginsr r r r r! r r �<module>r# s �� 4� �3�6�<� 3r