← Back
Editing: nginx.cpython-312.pyc
� ܓ�i! � �0 � d dl mZmZmZ G d� dee� Zy)� )�Plugin�IndependentPlugin� PluginOptc �: � e Zd ZdZdZdZdZ eddd�� gZd � Z y )�Nginxznginx http daemon�nginx)� webserver)r �logFzcollect all nginx logs)�default�descc � � | j ddg� | j g d�� g d�}| j |D �cg c] }d|� d��� c}� | j d� s| j d� r| j d � y y c c}w ) Nznginx -Vznginx -T)z/etc/nginx/*z/var/log/nginx/access.logz/var/log/nginx/error.log)�automationcontroller� automationhub�automationedacontrollerz/var/log/nginx/�*r �all_logsz/var/log/nginx/*)�add_cmd_output� add_copy_spec�add_forbidden_path� get_option)�self�altconf�alts �=/usr/lib/python3.12/site-packages/sos/report/plugins/nginx.py�setupzNginx.setup s� � ������ � � ��� � � �� ���07�! �07��o�c�U�!�$��! � � �?�?�5�!�T�_�_�Z�%@����1�2� &A�� ! s � BN) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr �option_listr � � r r r s1 � �$�J��K��H��H� �%��-E�F��K�3r% r N)�sos.report.pluginsr r r r r$ r% r �<module>r'