|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o
([Qh� � @ s2 d dl m Z d dlmZmZ G dd� dee�ZdS )� )�glob)�Plugin�RedHatPluginc @ 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)r �sos.report.pluginsr r r r
r
r
r �<module> s