Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Image Added

The Python collection agent configuration - General tab

Setting
Description

Code Area

This is the text area where you enter your code, see 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 Python Code Editor Assistance.

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 Python Interpreter Profile for further information.

Note
titleNote!

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.

Image Added

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.