| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
G%@i� � �8 � d dl m Z d dlmZmZ G d� dee� Zy)� )�glob)�Plugin�RedHatPluginc � � e Zd ZdZdZdZdZ ed� Zej d� ej d� dgZ
d � Zd
� Zy)�MonitzMonit monitoring daemon)�monit)�systemr z/etc/monit.d/*z/etc/monit.confz/etc/monitrcz/var/log/monit.logc �v � | j d� | j | j | j z � y )Nzmonit status)�add_cmd_output�
add_copy_spec� monit_log�
monit_conf)�selfs �:/usr/lib/python3/dist-packages/sos/report/plugins/monit.py�setupzMonit.setup s+ � ����N�+����4�>�>�D�O�O�;�<� c �r � | j D ]( }| j |dd� | j |dd� �* y )Nz(allow) (.*):(.*)z\1 ********:********z(username|password) (\w)+z\1 ********)r �do_file_sub)r �files r �postproczMonit.postproc# sE � � �O�O�
�D����T�1�4�
�
���T�9�+�
�
r N)
�__name__�
__module__�__qualname__�
short_desc�packages�profiles�plugin_namer r �appendr
r r � r r r r sT � �*�J��H��H��K� �&�'�J����'�(����n�%� &�&�I�=�r r N)r �sos.report.pluginsr r r r r r �<module>r! s �� � 3�$�F�L� $r