| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
([Qh! � �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/dist-packages/sos/report/plugins/nginx.py�setupzNginx.setup s� � ������
� �
���
� �
��
���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'