![]() 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__/ |
o i��d� � @ s2 d dl mZmZ d dlmZ G dd� dee�ZdS )� )�Plugin�UbuntuPlugin)� is_executablec @ s e Zd ZdZdZdZdd� ZdS )�UbuntuzUbuntu specific information�ubuntu)�systemc C s� | � ddg� | �d�rBtd�rd}n td�rd}nd}| � |� | � d | � | �d �s6| �g d�� d S | �d� | �d � d S d S )Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verbosezubuntu-advantage-tools�uaz ua status�proz pro statuszubuntu-advantage statusz%s --format json�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_output�is_installedr � get_option� add_copy_spec)�self�ua_tools_status� r �;/usr/lib/python3/dist-packages/sos/report/plugins/ubuntu.py�setup s"