Integrate > Zabbix > Troubleshoot > Troubleshooting the Collection of Events and Metrics

Troubleshooting the Collection of Events and Metrics

The event and metric data is sent through the REST WS service. In order to troubleshoot the data set, you need to enable OpsCx to create a copy of data in a file.

To enable copying of data to files:

  1. Open the appropriate integration configuration file in a plain text editor:

    Windows:

    %OvDataDir%conf\HPBsmIntZabbix\zabbix_events.conf

    %OvDataDir%conf\HPBsmIntZabbix\zabbix_metrics.conf

    Linux:

    /var/opt/OV/conf/HPBsmIntZabbix/zabbix_events.conf

    /var/opt/OV/conf/HPBsmIntZabbix/zabbix_metrics.conf

  2. Enable the following options:

    1. In the nodes section,change the line with the copy-count option, and set the number of copies..

      For example, to enable copying, change the line

      "copy-count" : "0"

      to

      "copy-count" : "1"

      By default, data is copied to

      ${OvDataDir}\datafiles\HPBsmIntZabbix\zabbix_events.xml

      ${OvDataDir}\datafiles\HPBsmIntZabbix\zabbix_metrics.xml

      You can change the files by editing the filename option for both sinks.

    2. In the pipe section, uncomment the following lines:

      //eventcopysplitter -1-> xmleventsink
      //metriccopysplitter -1-> xmlmetricsink
      

      to

      eventcopysplitter -1-> xmleventsink
      metriccopysplitter -1-> xmlmetricsink
      
  3. Save your changes.

  4. Restart the affected integration service as described in Managing the Integration Services topic.

Related topics

Managing the Integration Services