Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/nginx.cpython-312.pyc
�

-�_g!��0�ddlmZmZmZGd�dee�Zy)�)�Plugin�IndependentPlugin�	PluginOptc�:�eZdZdZdZdZdZeddd��gZd	�Z	y
)�Nginxznginx http daemon�nginx)�	webserver)r�logFzcollect all nginx logs)�default�descc��|jddg�|jgd��gd�}|j|D�cgc]}d|�d���
c}�|jd�s|jd�r|jd	�yycc}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/dist-packages/sos/report/plugins/nginx.py�setupzNginx.setups��������
�	�	
���
�	�
��
	
���07�!
�),�o�c�U�!�$�!
�	��?�?�5�!�T�_�_�Z�%@����1�2�&A��	!
s�
BN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listr��rrrs1��$�J��K��H��H�	�%��-E�F��K�3r%rN)�sos.report.pluginsrrrrr$r%r�<module>r's��D�C�%3�F�%�%3r%