Zabbix Integration

InsightFinder enhances Zabbix server capabilities by deploying its Collector for comprehensive data acquisition, encompassing metrics, logs, and problem data. 

This integration amplifies Zabbix’s monitoring efficiency, enabling the InsightFinder Intelligence Engine to conduct thorough root cause analysis specifically targeting high CPU/memory utilization and application latency issues. 

The added value lies in its predictive analytics feature, which anticipates incidents in real-time. 

This foresight allows Site Reliability Engineering (SRE) teams to proactively manage and mitigate issues, significantly improving Mean Time to Repair (MTTR) metrics and overall system reliability. 

Architecture

Prerequisites

InsightFinder Zabbix collector only requires READ only permissions to collect data from Zabbix Server.

  1. Create a user and user group for the collector to use in Zabbix server.
  2. Assign all READ permissions to all Templates in that user group
  3. Assign all READ permissions to the hosts groups in that user group.
  4. Have the username and password ready for that user.

Installation

  1. Go to https://github.com/insightfinder/InsightAgent/releases
  2. Download the latest Zabbix collector file.
  3. Unzip the file to a place.
  4. Add the following cron to trigger the collector run every 5 minutes.

*/5 * * * * /opt/zabbix-collector/getmessages_zabbix.py


Configuration

We support streaming the following data to InsightFinder for analysis.

  1. Metric
  2. Log
  3. Problem

For each type of data you want to stream, simply create a .ini file under the conf.d folder following the example here.

Key Configuration Items

SectionConfigDescription
zabbixurlThe URL of the target Zabbix server to get data from.
userThe username of the Zabbix server.
passwordThe password of the Zabbix server.
host_groupsThe host group names (separated by comma) need to stream data.
template_idsThe template Ids (separated by comma) need to stream data.
insightfinderuser_nameThe username in InsightFinder cloud.
license_keyThe license key in InsightFinder cloud.
project_nameThe name of the project to store the data.
system_nameThe system name which the projects are associated with
project_typeTypes of the data streaming. 1. metric: Stream Zabbix metric data. 2. log: Stream Zabbix log data. 3. alert: Stream Zabbix Problems data.
sampling_intervalInterval for data sampling (minutes).
run_intervalInterval for collector to run (minutes).