Server IP : 15.235.198.142 / Your IP : 216.73.216.114 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/collector/transports/__pycache__/ |
Upload File : |
� i��d� � �f � d dl Z d dlZd dlZd dlZd dlmZ d dlmZmZ d dl m Z mZ G d� de� Zy)� N)�RemoteTransport)�ConnectionException�#SaltStackMasterUnsupportedException)� is_executable�sos_get_command_outputc �r � � e Zd ZdZdZd� Z d� fd� Zd� Zed� � Z d d�Z d d�Zd � Zed � � Z d� Z� xZS )�SaltStackMasterz� A transport for collect that leverages SaltStack's Master Pub/Sub functionality to send commands to minions. This transport will by default assume the use cmd.shell module to execute commands on the minions. � saltstackc �` � t t j |� j � � d S )Nr )�list�json�loads�values)�self�json_outputs �D/usr/lib/python3/dist-packages/sos/collector/transports/saltstack.py�_convert_output_jsonz$SaltStackMaster._convert_output_json! s$ � ��D�J�J�{�+�2�2�4�5�a�8�8� c �� �� t t | � |||||� }t j t � 5 | j |d � |d<