![]() 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� � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZdZdZedddd�gZd d � Z dS )�Nginxznginx http daemon�nginx)� webserver)r �logFzcollect all nginx logs)�default�descc C sB | � ddg� | �g d�� | �d�s| �d�r| �d� d S d S )Nznginx -Vznginx -T)z/etc/nginx/*z/var/log/nginx/access.logz/var/log/nginx/error.logr �all_logsz/var/log/nginx/*)�add_cmd_output� add_copy_spec� get_option)�self� r �:/usr/lib/python3/dist-packages/sos/report/plugins/nginx.py�setup s ��zNginx.setupN) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr �option_listr r r r r r s �r N)�sos.report.pluginsr r r r r r r r �<module> s