https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
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

-�_gQ�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�Redisz%Redis, in-memory data structure store�redis)�services)rz+/var/lib/config-data/puppet-generated/rediscCsX|�d|jd|jd|jdg�|�d�|�d�r$|�dg�dS|�dg�dS)	Nz/etc/redis.confz/etc/redis*z/etc/redis/z/etc/security/limits.d/zredis-cli info�all_logsz/var/log/redis/redis.log*z/var/log/redis/redis.log)�
add_copy_spec�var_puppet_gen�add_cmd_output�
get_option)�self�r
�:/usr/lib/python3/dist-packages/sos/report/plugins/redis.py�setups�


�
�zRedis.setupcCs*d|jdfD]}|�|ddd�qdS)Nz/etc/z
redis.confz(masterauth|requirepass)\s.*z\1 ********)r	�do_file_sub)r�pathr
r
r�postproc,s��zRedis.postprocN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr	rrr
r
r
rrsrN)�sos.report.pluginsrrrr
r
r
r�<module>s

https://t.me/RX1948 - 2025