Integrate > Microsoft SCOM > Troubleshoot > Troubleshooting the Collection of Events and Metrics

Troubleshooting the Collection of Events and Metrics

When unexpected events (alerts) or metrics appear in OMi or you miss specific Microsoft SCOM entities, the root cause of the problem may be improper integration configuration, inadequate definition of entity mapping or rules in the corresponding Operations Connector policies, or some other reason. To ease the inspection of data flow between Microsoft SCOM and Operations Connector, OpsCx for Microsoft SCOM can create output files with collected events (alerts) and metrics. Such output files contain the XML formatted data acquired from the integrated Microsoft SCOM instance, but they are not used in data forwarding to Operations Connector.

Because the topology integration of OpsCx for Microsoft SCOM uses a different data relaying pipeline, this troubleshooting method is not available for Microsoft SCOM topology.

To generate the event or metric output file on the Operations Connector host, perform the following steps:

  1. Change the current directory to <OvDataDir>\conf\HPBsmIntSCOM\genint and open the appropriate integration configuration file in a plain text editor. To determine which configuration file to modify, see Integration Configuration Files topic.

  2. In the processor subsection of the nodes section, change the value of the copy-count option to 1.

  3. In the pipe section, uncomment the line with the following definition:

    • For the event integration: splitter -1-> eventxmlsink

    • For the metric integration: splitter -1-> metricxmlsink

  4. Optional: To fine‑tune the output file generation, adjust the options in the following subsection of the nodes section:

    • For the event integration: sink (eventxmlsink)

    • For the metric integration: sink (metricxmlsink)

  5. Save your changes.

  6. Restart the affected integration service as described in Restarting the Services topic.

The output file with the XML-formatted event or metric data is created at the location defined with the filename option in the integration configuration file.

Related topics

Integration Configuration Files

Restarting the Services