HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/redis.cpython-312.pyc
�

([Qhb��,�ddlmZmZGd�dee�Zy)�)�Plugin�IndependentPluginc�,�eZdZdZdZdZdZdZd�Zd�Z	y)	�Redisz%Redis, in-memory data structure store�redis)�services)rz+/var/lib/config-data/puppet-generated/redisc�
�|jd|jdz|jdz|jdzg�|jd�|jd�r|jdg�y|jdg�y)	Nz/etc/redis/redis.confz/etc/redis*�/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)�selfs �:/usr/lib/python3/dist-packages/sos/report/plugins/redis.py�setupzRedis.setups������#����-�/����-�/����";�;�	
�	�	
���,�-��?�?�:�&����+� �
�
���*� �
�c�\�d|jdzfD]}|j|dzdd��y)Nr
z
/etc/redisz
redis.confz(masterauth|requirepass)\s.*z\1 ********)r
�do_file_sub)r�paths  r�postproczRedis.postproc,s=��"�D�$7�$7�,�$F�G�	�D�����|�#�/��
�	rN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr
rr�rrrrs%��8�J��K��H��H�B�N��$rrN)�sos.report.pluginsrrrrrr�<module>r!s��9�#�F�%�#r