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__/redis.cpython-310.pyc
o

i��db�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�	SCLPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�Redisz%Redis, in-memory data structure store�redis)�services)rz
rh-redis32z	rh-redis5z+/var/lib/config-data/puppet-generated/rediscCs�|�d|jd|jd|jdg�|jdd�D]}|�d�d}|�|gd��q|�d	�|�d
�r=|�dg�dS|�dg�dS)
N�/etc/redis.confz/etc/redis*z/etc/redis/z/etc/security/limits.d/�z
rh-redis*-r)rz/etc/redis.conf.puppetz/etc/redis-sentinel.confz/etc/redis-sentinel.conf.puppetz/var/log/redis/sentinel.log�/var/log/redis/redis.logzredis-cli info�all_logsz/var/log/redis/redis.log*r	)�
add_copy_spec�var_puppet_gen�packages�split�add_copy_spec_scl�add_cmd_output�
get_option)�self�pkg�scl�r�:/usr/lib/python3/dist-packages/sos/report/plugins/redis.py�setups"�
	

�
�zRedis.setupcCs.d|jdddfD]}|�|ddd�q	dS)Nz/etc/z/etc/opt/rh/rh-redis32/z/etc/opt/rh/rh-redis5/z
redis.confz(masterauth|requirepass)\s.*z\1 ********)r�do_file_sub)r�pathrrr�postproc7s���zRedis.postprocN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr
rrrrrrrrsrN)�sos.report.pluginsrrrrrrr�<module>s

Spamworldpro Mini