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 blockthe execute block, input/output UDR types, and Interpreter configuration.

Image Removed

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 Types

Select the output types that you have.

Output Routes

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

Interpreter

Here you select which Interpreter profile

select which https://infozone.atlassian.net/wiki/x/SBU0D you want to use. If no selection is made the

Interpreter profile

interpreter 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

in the https://infozone.atlassian.net/wiki/x/uwgzD will be used.

MIM Tab

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

Image Removed

...

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.