Integrating Data With BSM Connector > REST Web Service Listener Policies > How to Collect Metrics Data Through the REST Web Service Listener

How to Collect Metrics Data Through the REST Web Service Listener

This task describes how to collect metrics data through the BSM Connector REST Web service listener.

Note: For examples and end-to-end workflow information on collecting metrics data, see Collecting and Viewing Metrics Data.

  1. Prerequisite: Make sure the following applies:

    1. Your BSM 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 BSM Connector is set up as a connected server in OMi.

  2. In the BSM Connector user interface, click Create in the toolbar. Then click Metrics > REST Web service listener REST Web Service Listener.

    Alternatively, double-click an existing 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).

    For details, see Configuring REST Web Service Listener Policy Properties.

  4. In the Source page,define the path parameter that is a part of the actual URL where the REST Web Service Listener listens for the XML data from the Web service client.

    For details, see Configuring the Data Source in REST Web Service Listener Policies .

  5. Optional. In the Defaults page,assign default values to the metric attributes.

    For details, see Configuring Metrics Defaults in REST Web Service Listener Policies.

  6. In the Rules page, define what the policy should do in response to a specific metric.

    For details, see Configuring Metrics Rules in REST Web Service Listener Policies.

  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 BSM Connector user interface, click Refresh in the toolbar.