9.63.7.1.1 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

Code Area

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

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 9.63.3 Python Code Editor Assistance.

Compilation Test...

Compiles the entered code to evaluate that the syntax is correct. The status of the compilation is displayed in a dialog. Upon failure, the erroneous line is highlighted and a message, including the line number, is displayed.

The Python Language Service tool must be running to enable the Compilation Test. For further information, see 9.63.4 Python Language Service.

Output TypesSelect the output types that you have.
Output RoutesEnter the routes that each output type is sent out on.
Interpreter

Here you select which Interpreter profile you want to use. If no selection is made the Interpreter profile that has been set as default will be used. See 9.63.1 Interpreter Profile for further information.

Note!

You have to ensure that there is an Interpreter profile that has been set as default if using the default option.

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

ColumnDescription
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.

NameEnter the MIM resource name.
TypeSelect the data type of MIM resource.