| Server IP : 173.209.174.21 / Your IP : 216.73.216.79 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) 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 : |
�
G%@iT � �0 � d dl mZmZmZ G d� dee� Zy)� )�Plugin�RedHatPlugin�SoSPredicatec �( � e Zd ZdZdZdZdZd� Zd� Zy)�Rhcz�
RHC is a client tool and daemon that connects the system
to Red Hat hosted services enabling system and
subscription management. This plugin captures
configuration files and the output of 'rhc status'.
z2Red Hat client for remote host configured services�rhc)r c �h � | j ddg� | j dt | dg�� �� y )Nz
/etc/rhc/*z/var/log/rhc-worker-playbookz
rhc status�rhsm)�services)�pred)�
add_copy_spec�add_cmd_outputr )�selfs �8/usr/lib/python3/dist-packages/sos/report/plugins/rhc.py�setupz Rhc.setup s? � �����*�
� �
�����d�f�X�6� �
� c �X � | j ddd� d}d}| j ||d� y )Nz&/etc/rhc/workers/foreman_rh_cloud.tomlz%(FORWARDER_PASSWORD\s*=\s*)(.+)(\"\,)z\1********\3z&/var/log/rhc-worker-playbook/ansible/*z9(\s*\"ansible_ssh_host_key_)(.+)(_public\":\s*)(.+)(\,|$)z\1\2\3********\5)�do_path_regex_sub)r �path�regexps r �postproczRhc.postproc&