Administer > Policies > Open Message Interface Policies > How to Collect Event Data from the Open Message Interface

How to Collect Event Data from the Open Message Interface

This task describes how to collect event data submitted by the opcmsg command-line tool to the open message interface.

  1. Prerequisite: Make sure the following applies:

    1. Your Operations Connector is configured to work with OMi by using the bsmc-conf tool.

    2. The certificate request is approved on the OMi side.

    3. Your Operations Connector is set up as a connected server in OMi.

  2. In the Operations Connector user interface, click Create in the toolbar, then click Event > Open Message Interface. The open message interface policy editor opens. 

    Alternatively, double-click an existing open message interface policy to edit it.

  3. In the Properties page, define information that is related to the policy itself (for example, the name and description of the policy).

  4. In the Default Event Attributes page, configure the default settings for all events generated by the policy (for example, default event correlation settings).

  5. In the Policy Rules page, define what the policy should do in response to a specific type of message submitted to the open message interface.

  6. In the Options page, configure several policy behaviors (for example, pattern matching options).

  7. Click Save and Close to save the policy and close the editor.

  8. Optional. If the list of policies does not refresh automatically in the Operations Connector user interface, click Refresh in the toolbar.

  9. Activate the open message interface policy to start the opcmsgi process on the Operations Connector server.

  10. Use the opcmsg command-line tool to submit messages to the open message interface policy. For details, see opcmsg Command-Line Tool topic.

    Alternatively, use the available Java classes or C API to implement a program that generates messages. For details, see opcmsg Java API topic and opcmsg C API topic.

Related topics

Configuring Open Message Interface Policy Properties

Configuring Event Defaults in Open Message Interface Policies

Configuring Rules in Open Message Interface Policies

Configuring Options in Open Message Interface Policies

opcmsg Command-Line Tool

opcmsg Java API

opcmsg C API