Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o C��g� � @ s6 d dl mZmZmZ d dlmZ G dd� dee�ZdS )� )�Plugin�UbuntuPlugin�SoSPredicate)� is_executablec @ s$ e Zd ZdZdZdZdZdd� ZdS )�UbuntuzUbuntu specific information�ubuntu)�system)zubuntu-advantage-toolszubuntu-pro-clientzupdate-manager-corec C s� | � ddg� td�rd}n td�rd}nd}t| dgd �}| j ||d d� | j |� d�|d d� | �d � | �d�sD| �g d�� d S | �d� | �d� d S )Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verbose�uaz ua status�proz pro statuszubuntu-advantage status�tls)�kmodsT)�pred�changesz --format jsonz#/etc/ubuntu-advantage/uaclient.conf�all_logs)z/var/log/ubuntu-advantage.logz/var/log/ubuntu-advantage.log.1z /var/log/ubuntu-advantage.log.2*z#/var/log/ubuntu-advantage-timer.logz%/var/log/ubuntu-advantage-timer.log.1z&/var/log/ubuntu-advantage-timer.log.2*z/var/log/ubuntu-advantage.log*z$/var/log/ubuntu-advantage-timer.log*)�add_cmd_outputr r � add_copy_spec� get_option)�self�ua_tools_status�ua_pred� r �;/usr/lib/python3/dist-packages/sos/report/plugins/ubuntu.py�setup s* ��� zUbuntu.setupN)�__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr r r r r r s r N)�sos.report.pluginsr r r � sos.utilitiesr r r r r r �<module> s