| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) 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 : |
�
([Qh� � �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