![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
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