| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i� � @ 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)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.setupc C s, | j D ] }| �|dd� | �|dd� qd S )Nz(allow) (.*):(.*)z\1 ********:********z(username|password) (\w)+z\1 ********)r Zdo_file_sub)r
�filer r r �postproc# s
��zMonit.postprocN)
�__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