o
    id                     @   s*   d dl mZmZmZ G dd deeZdS )    )PluginIndependentPlugin	PluginOptc                   @   s4   e Zd ZdZdZdZdZeddddgZd	d
 Z	dS )Nginxznginx http daemonnginx)	webserver)r   logFzcollect all nginx logs)defaultdescc                 C   sB   |  ddg | g d | ds| dr| d d S d S )Nznginx -Vznginx -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   zNginx.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   