%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/manageiq.cpython-312.pyc |
� i��dm � �@ � d dl mZmZ d dlmZ d dlZ G d� dee� Zy)� )�Plugin�RedHatPlugin)�environNc � � e Zd ZdZdZdZdZej j ed� ej j ed� ej j ed� ej j ed� fZ ej j ed � Zg d �Zej j ed� Z g d�Zg d �Zd� Zy)�ManageIQz'ManageIQ/CloudForms related information�manageiqz/var/www/miq/vmdb)�cfmezcfme-appliancezcfme-gemsetzcfme-appliance-toolszcfme-appliance-common�BUILD�GUID�VERSION�REGION�config)z*.rbz*.yaml�*.ymlz*.yml.dbz*.yml.samplezsettings/*.ymlzenvironments/*.rbzenvironments/*.ymlzenvironments/patches/*.rbzinitializers/*.rbzdatabase.yml.oldzbrakeman.ignore�log)zansible_tower.logztop_output.logzevm.logzproduction.logzautomation.log)z*.logzapache/*.logz*.txtr c �< � | j d� rt d� | j � | _ | j t | j � � | j | j D �cg c] }| j | j |� �� c}� | j | j D �cg c] }| j | j |� �� c}d�� | j | j D �cg c] }| j | j |� �� c}� | j ddg� t j d� rIt j d� }| j | j |d� | j |d � g� y y c c}w c c}w c c}w ) N�all_logsc � � | dz S )N�*� )�xs �=/usr/lib/python3/dist-packages/sos/report/plugins/manageiq.py�<lambda>z ManageIQ.setup.<locals>.<lambda>O s � �q�3�w� � r )� sizelimitz/var/log/tower.logz&/etc/manageiq/postgresql.conf.d/*.conf�APPLIANCE_PG_DATA�pg_logzpostgresql.conf) � get_option�map� miq_log_files� add_copy_spec�list�files�miq_conf_files� path_join�miq_conf_dir� miq_main_logs�miq_log_dirr �get)�selfr �pg_dirs r �setupzManageIQ.setupL sl � ��?�?�:�&�!$�%6��8J�8J�!K�D�����4�� � �+�,����:>�:M�:M� �56�D�N�N�4�,�,�a�0� � � ���9=�9K�9K� �45�D�N�N�4�+�+�Q�/� �� � � ���9=�9K�9K� �45�D�N�N�4�+�+�Q�/� � � ��� �4� � � �;�;�*�+��[�[�!4�5�F�����N�N�6�8�4��N�N�6�+<�=� � � ,��% �� �� s �+#F�.#F�3#FN)�__name__� __module__�__qualname__� short_desc�plugin_name�miq_dir�packages�os�path�joinr"