Python Collection Agent Configuration - Batch

The Python collection agent configuration consists of two tabs: General and MIM.

General Tab

The General tab consists of three different sections: Python code for the execute block, input/output UDR types, and Interpreter configuration.

The Python collection agent configuration - General tab

 

Setting

Description

Setting

Description

Code Area

This is the text area where you enter your code, see Python Writer's Guide for further information.

The entered code will be color-coded depending on the code type, and for input assistance, a pop-up menu is available.

Below the text area, there are line, column, and position indicators. See Python Code Editor Assistance.

Output Types

Select the output types that you have.

Output Routes

Enter the routes that each output type is sent out on.

Interpreter

Select which https://infozone.atlassian.net/wiki/x/pZyqBg you want to use. If no selection is made the interpreter that has been set as default in thehttps://infozone.atlassian.net/wiki/x/7ompBg will be used.

MIM Tab

In the MIM tab, you can set the MIMs that you want the Python collection agent to publish.

The Python collection agent configuration  - MIM tab

 

Column

Description

Column

Description

Assigned

Select when the MIM resource is assigned a value. Can be one of:

  • batch - Value is assigned from the consume block.

  • header - Value is assigned in the beginBatch block.

  • trailer - Value is assigned in the endBatch block.

  • global - Value is assigned from any block.

Name

Enter the MIM resource name.

Type

Select the data type of MIM resource.