File: //proc/1233/cwd/lib/python3/dist-packages/sos/report/plugins/__pycache__/monit.cpython-310.pyc
o
i��d� � @ s2 d dl mZmZ d dlmZ G dd� dee�ZdS )� )�Plugin�RedHatPlugin)�globc @ sN e Zd ZdZdZdZdZed�Ze� d� e� d� dgZ
d d
� Zdd� Zd
S )�MonitzMonit monitoring daemon)�monit)�systemr z/etc/monit.d/*z/etc/monit.confz/etc/monitrcz/var/log/monit.logc C s | � d� | �| j| j � d S )Nzmonit status)�add_cmd_output�
add_copy_spec� monit_log�
monit_conf)�self� r
�:/usr/lib/python3/dist-packages/sos/report/plugins/monit.py�setup s
zMonit.setupc C s, | j D ]}| �|dd� | �|dd� qd S )Nz(allow) (.*):(.*)z\1 ********:********z(username|password) (\w)+z\1 ********)r �do_file_sub)r �filer
r
r �postproc$ s
���zMonit.postprocN)
�__name__�
__module__�__qualname__�
short_desc�packages�profiles�plugin_namer r �appendr
r r r
r
r
r r s
r N)�sos.report.pluginsr r r r r
r
r
r �<module> s