HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/monit.cpython-38.pyc
U

i��d��@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.setupcCs,|jD] }|�|dd�|�|dd�qdS)Nz(allow) (.*):(.*)z\1 ********:********z(username|password) (\w)+z\1 ********)r	Zdo_file_sub)r
�filerrr�postproc$s
��zMonit.postprocN)
�__name__�
__module__�__qualname__Z
short_descZpackagesZprofilesZplugin_namerr	�appendrr
rrrrrrs

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