Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

i��d��@s.ddlZddlmZmZGdd�dee�ZdS)�N)�Plugin�IndependentPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�CollectdzCollectd config collector�collectd)�services�	webserver)r)�)/var/log/containers/collectd/collectd.logz/var/log/collectd/collectd.logc
Cs�|�gd��t�d�}z2t|�d�d��}|D]}|�|�r*|�d|��d�qWd�WdS1s7wYWdStyX}z|�	d|�WYd}~dSd}~ww)N)�/etc/collectd.conf�/etc/collectd.d/*.confrz@/var/lib/config-data/puppet-generated/collectd/etc/collectd.confzD/var/lib/config-data/puppet-generated/collectd/etc/collectd.d/*.confz
^LoadPlugin.*r	�rzActive Plugin found: %s���z%could not open /etc/collectd.conf: %s)
�
add_copy_spec�re�compile�open�	path_join�match�	add_alert�split�IOError�	_log_warn)�self�p�f�line�e�r�=/usr/lib/python3/dist-packages/sos/report/plugins/collectd.py�setups 
	

���&���zCollectd.setupcCs6gd�}dd�|�}|�d|d�|�d|d�dS)N)�Password�Userz[<]*URL�Addressz(^[#]*\s*(%s)\s* \s*)(.*)�|r
z
\1"*********"r	)�join�do_path_regex_sub�do_file_sub)r�protect_keys�regexprrr�postproc/s�zCollectd.postprocN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�filesrr(rrrrrsr)r�sos.report.pluginsrrrrrrr�<module>s	

Spamworldpro Mini