Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/monit.cpython-36.opt-1.pyc

3

�f��@s2ddlmZddlmZmZGdd�dee�ZdS)�)�glob)�Plugin�RedHatPluginc@sNeZdZdZd
ZdZdZed�Zej	d�ej	d�dgZ
dd	�Zd
d�ZdS)�MonitzMonit monitoring daemon�monit�systemz/etc/monit.d/*z/etc/monit.confz/etc/monitrcz/var/log/monit.logcCs |jd�|j|j|j�dS)Nzmonit status)Zadd_cmd_outputZ
add_copy_spec�	monit_log�
monit_conf)�self�r�/usr/lib/python3.6/monit.py�setups
zMonit.setupcCs0x*|jD] }|j|dd�|j|dd�qWdS)Nz(allow) (.*):(.*)z\1 ********:********z(username|password) (\w)+z\1 ********)r	Zdo_file_sub)r
�filerrr�postproc#szMonit.postprocN)r)r)
�__name__�
__module__�__qualname__Z
short_descZpackagesZprofilesZplugin_namerr	�appendrr
rrrrrrs

rN)rZsos.report.pluginsrrrrrrr�<module>s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists