Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/foreman.cpython-312.pyc |
�
-�_g�; � � � d dl mZ d dlmZ d dlmZmZmZmZm Z G d� de� Z
G d� de
e� Z G d� d e
ee� Zy
)� )�match)�quote)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin� PluginOptc � � e Zd ZdZdZdZdZdZdZdZ dZ
d diZ ed
dd�
� eddd�
� eddd�
� gZ
dZd� Zd� Zd� Zdd�Zd� Zy)�Foremanz$Foreman/Satellite systems management�foremani )�sysmgmt)r N� localhost� �
PGPASSWORD�days� z!number of days for dynflow output)�default�desc�
proxyfeaturesFz!collect features of smart proxies�puma-gczcollect Puma GC statsz/pumactl %s -S /usr/share/foreman/tmp/puma.statec � � d} d}t |dd�� 5 }|j � j � }d d d � D ]� }|r|d dk( r�|j d� rd }�"|r$t d
|� r|j � d | _ |r$t d|� r|j � d | _ |j d
� r��d}�� | j j d� r| j j d� s6| j j d� r/| j j d� r| j dd | _ d| j i| _
| j ddddd�� | j ddg� | j d� d }|j � }| j d� d }|j � }| j dd| j � d�gd�� | j d d!d"d#d$d%d&d'd(d)d*d+d,d-d| j � d.�d| j � d/�d| j � d0�d1| j � d2�d1| j � d3�d| j � d4�g� | j# d5d6d7d8d9d:|� �d:|� �d;g� | j% d<d=gd �>� | j# d?d@�A� | j# dBdCdD�E� | j# dFdG�A� | j'