QuickStart Tutorial: How to Automatically Import Existing Zabbix IT Services

As of version 3.2.1, one of quickest ways to get started with RealOpInsight is use your existing Zabbix IT services configuration, which, as we’ll see in this tutorial, can be easily imported and converted to a RealOpInsight description file. The resulting description file can then be used with both RealOpInsight Workstation and RealOpInsight Ultimate. And this will take you only a few clicks. Yes, no more.

Prerequisites

To run all the steps of this tutorial successfully, you must meet the following conditions:

  • We assume that you have a Zabbix installation along with IT services configured and operating correctly.
  • Zabbix 2.0 or higher is required, before that Zabbix API does not provide method for querying IT services.
  • RealOpInsight Workstation must have been installed and ready to use. If not, refer to the installation guide.

Summarized Steps

  1. Run the RealOpInsight Editor and select the menu File -> Import Zabbix IT Services
  2. From the source selection window that’ll appear, select the Zabbix source to import data from. Note that your Zabbix source must have been properly configured beforehand .
  3. Click on OK to start the importation and wait that the importation completes.
  4. Select the menu File -> Save As to save the result of the importation as a RealOpInsight description file. This shall open a file selection window to let you select the destination path as well as the format of the description file.
  5. Note that the selected source id will be appended to each data point. Hence, you must make sure to save the resulting file as a Multi-source description file. You can do this by selecting the appropriate file type in the file selection window.
  6. Finally, run the RealOpInsight Operation Console and select the file previously saved to visualize the result.

Detailed Steps

  1. Run the RealOpInsight Editor and select the menu File -> Import Zabbix IT Services

    ../_images/realopinsight-editor-import-zabbix-itservices-menu.png
  2. From the source selection window that’ll appear, select the Zabbix source to import data from and leave the filter field empty.

    ../_images/import-zabbix-source-selection.png

    Note that your Zabbix source must have been suitably configured beforehand. For this tutorial, Source0 has has been set as a Zabbix source and points to a Zabbix installation having the following IT services configured:

    ../_images/zabbix-it-services.png

    In this example, we have a web site (example.com) that depends on two web servers: web-server01 and web-server02. The services associated to web-server01 and web-server02 rely on two triggers at the lowest level.

  3. Click on OK to start the importation and wait that the importation completes. As you may see on the following screenshot (red area), the selected source id has be be automatically appended to all the data points.

    ../_images/realopinsight-editor-import-zabbix-itservices-completed.png
  4. Select the menu File -> Save As to save the result as a RealOpInsight description file.

    Since the source id is appended to the idenfiers of data points, you must make sure to save the resulting file as a Multi-source description file as shown on the figure below, you can do this by selecting the appropriate file type in the file selection window.

    ../_images/realopinsight-editor-select-file-type.png
  5. That’s it, you’re done. The resulting description file can then be used with both RealOpInsight Workstation and RealOpInsight Ultimate. The following screenshot has been taken from the Workstation edition. As you may observe, all the services have suitably imported along with their associated status calculation rules.

    Important notes:

    • All top level services are wrapped under a global root service named Zabbix IT Services;
    • The Do not calculate status calculation algorithm in Zabbix is converted to Neutral propagation rule in RealOpInsight.
    • The Problem, if at least one child has a problem status calculation algorithm in Zabbix is converted to Worst Severity calculation rule in RealOpInsight.
    • The Problem, if all children have problems status calculation algorithm in Zabbix is converted to Average Severity calculation rule in RealOpInsight.
    ../_images/realopinsight-visualize-zabbix-itservice.png