| Server IP : 216.238.111.58 / Your IP : 216.73.217.34 Web Server : LiteSpeed System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64 User : skillsitcom ( 1002) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
3
ܓ�i: � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin�SoSPredicatec @ s, e Zd ZdZdZdZd Zdd� Zdd� ZdS )
�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�rhcc C sN | j ddg� | jd�r&| j dg� n| j dg� | jdt| dgd�d � d S )
Nz
/etc/rhc/*z/var/log/rhc-worker-playbookZall_logsz/var/log/rhc/rhc.log*z/var/log/rhc/rhc.logz
rhc statusZrhsm)Zservices)Zpred)Z
add_copy_specZ
get_optionZadd_cmd_outputr )�self� r �/usr/lib/python3.6/rhc.py�setup s
z Rhc.setupc C s( | j ddd� d}d}| j ||d� d S )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)Zdo_path_regex_sub)r �pathZregexpr r r �postproc/ s
zRhc.postprocN)r ) �__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZpackagesr
r r r r r r s r N)Zsos.report.pluginsr r r r r r r r �<module> s