Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/insights.cpython-310.pyc
o

i��d	�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s4eZdZdZdZdZdZdZdZdd�Z	d	d
�Z
dS)�RedHatInsightsaPlugin to capture configuration and logging for the Red Hat Insights
    client. Insights is used to provide ongoing analysis of systems for
    proactive problem mitigation, with the client being one of the primary
    sources of data for the service.

    This plugin will capture configuration information under
    /etc/insighits-client, as well as logs from /var/log/insights-client. A
    single connection test via the `insights-client` command is performed and
    recorded as well for troubleshooting purposes.
    z)Red Hat Insights configuration and client�insights)zredhat-access-insightszinsights-client)�system�sysmgmt)z)/etc/insights-client/insights-client.confz /etc/insights-client/.registeredz/etc/insights-client/tags.yamlz1/etc/insights-client/malware-detection-config.ymlz7/etc/redhat-access-insights/redhat-access-insights.confcCsR|�|j�|�d�|�d�|�d�r|�d�n|�d�|jddd�dS)	Nz/var/lib/insightsz%/var/log/redhat-access-insights/*.log�all_logsz/var/log/insights-client/*.log*z,/var/log/insights-client/insights-client.logz-insights-client --test-connection --net-debug�)�timeout)�
add_copy_spec�config�
get_option�add_cmd_output)�self�r�=/usr/lib/python3/dist-packages/sos/report/plugins/insights.py�setup$s




�zRedHatInsights.setupcCs,|jD]}|�|dd�|�|dd�qdS)Nz(password[\t\ ]*=[\t\ ]*)(.+)z
\1********z(proxy[\t\ ]*=.*)(:)(.*)(@.*)z\1\2********\4)r�do_file_sub)r�confrrr�postproc5s
���zRedHatInsights.postprocN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�packages�profilesrrrrrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s

Spamworldpro Mini