HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/monit.cpython-39.pyc
a

^��c�	�@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.9/site-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