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 -�_g! � @ 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 s^ | � ddg� | �g d�� g d�}| �dd� |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.log)�automationcontroller� automationhub�automationedacontrollerc S s g | ]}d |� d��qS )z/var/log/nginx/�*� )�.0�altr r �:/usr/lib/python3/dist-packages/sos/report/plugins/nginx.py� <listcomp>, s �zNginx.setup.<locals>.<listcomp>r �all_logsz/var/log/nginx/*)�add_cmd_output� add_copy_spec�add_forbidden_path� get_option)�self�altconfr r r �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