Your IP : 216.73.217.13


Current Path : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/monit.cpython-38.pyc

U

���b�	�@s2ddlmZmZddlmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin)�globc@sNeZdZdZdZdZdZed�Ze�	d�e�	d�dgZ
d	d
�Zdd�Zd
S)�MonitzMonit monitoring daemon)�monit)�systemrz/etc/monit.d/*z/etc/monit.confz/etc/monitrcz/var/log/monit.logcCs |�d�|�|j|j�dS)Nzmonit status)Zadd_cmd_outputZ
add_copy_spec�	monit_log�
monit_conf)�self�r�:/usr/lib/python3/dist-packages/sos/report/plugins/monit.py�setup s
zMonit.setupcCsd|jD]X}|�|dd�|�|dd�|�|dd�|�|dd�|�|d	d
�|�|dd�qdS)
Nzallow (.*):(.*)zallow ********:********zALLOW (.*):(.*)zALLOW ********:********zusername (\w)+zusername ********zpassword (\w)+zpassword ********zUSERNAME (\w)+zUSERNAME ********zPASSWORD (\w)+zPASSWORD ********)r	Zdo_file_sub)r
�filerrr�postproc$s2
������zMonit.postprocN)
�__name__�
__module__�__qualname__Z
short_descZpackagesZprofilesZplugin_namerr	�appendrr
rrrrrrs

rN)Zsos.report.pluginsrrrrrrrr�<module>s