| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) 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 : |
�
([Qh� � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�RedHatPluginc �0 � e Zd ZdZdZdZdZdZdZd� Z d� Z
y )
�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.confz /etc/insights-client/.lastuploadz/etc/insights-client/machine-idc �6 � | j | j � | j d� | j d� | j d� r| j d� n| j d� | j dd�� | j g d �d
�� y )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)z /etc/rhsmz/sys/kernelz/var/lib/sssT)� recursive)�
add_copy_spec�config_and_status�
get_option�add_cmd_output�add_dir_listing)�selfs �=/usr/lib/python3/dist-packages/sos/report/plugins/insights.py�setupzRedHatInsights.setup&