%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/redis.cpython-312.pyc |
� i��db � �, � d dl mZmZ G d� dee� Zy)� )�Plugin� SCLPluginc �, � e Zd ZdZdZdZdZdZd� Zd� Z y) �Redisz%Redis, in-memory data structure store�redis)�services)r z rh-redis32z rh-redis5z+/var/lib/config-data/puppet-generated/redisc � � | j d| j dz | j dz | j dz g� | j dd D ]* }|j d� d }| j |g d�� �, | j d � | j d � r| j dg� y | j dg� y ) N�/etc/redis.confz/etc/redis*z/etc/redis/z/etc/security/limits.d/� z rh-redis*-r )r z/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�scls �:/usr/lib/python3/dist-packages/sos/report/plugins/redis.py�setupzRedis.setup s� � ��������-�/����-�/����";�;� � � �=�=���$� �C��)�)�L�)�!�,�C��"�"�3� )� � � ���,�-��?�?�:�&����+� � � ���*� � � c �` � d| j dz ddfD ] }| j |dz dd� � y )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 �paths r �postproczRedis.postproc7 sH � ���(�(�7�2�.�-�/� �D� ����|�#�/�� � r N) �__name__� __module__�__qualname__� short_desc�plugin_name�profilesr r r r � r r r r s% � �8�J��K��H�3�H�B�N��: r r N)�sos.report.pluginsr r r r% r r �<module>r'