
    -_g!                     0    d dl mZmZmZ  G d dee      Zy)    )PluginIndependentPlugin	PluginOptc                   :    e Zd ZdZdZdZdZ eddd      gZd	 Z	y
)Nginxznginx http daemonnginx)	webserver)r   logFzcollect all nginx logs)defaultdescc                    | j                  ddg       | j                  g d       g d}| j                  |D cg c]  }d| d
 c}       | j                  d      s| j                  d      r| j                  d	       y y c c}w )
Nznginx -Vznginx -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setupzNginx.setup   s    
 	 	 
 	

 	07!
),ocU!$!
 	 ??5!T__Z%@12 &A	!
s   BN)
__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'      s    D C%3F% %3r%   