Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���b� � @ 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 sd | j D ],}| �|dd� | �|dd� | �|dd� | �|dd� | �|d d � | �|dd� qd S ) Nzallow (.*):(.*)zallow ********:********zALLOW (.*):(.*)zALLOW ********:********zusername (\w)+zusername ********zpassword (\w)+zpassword ********zUSERNAME (\w)+zUSERNAME ********zPASSWORD (\w)+zPASSWORD ********)r �do_file_sub)r �filer r r �postproc$ s4 �������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