LinkMesh

Search docs, blog and changelog

ENDE
LinkMeshObservability Data Collection Management
MigrationOpenTelemetry

Zabbix → OpenTelemetry

What maps, what does not, and three ways to run both.

linkmesh.io
Philippe BraxmeierPhilippe Braxmeier← Back to blog
8 min read

Zabbix teams used to hear one question about OpenTelemetry: when will you replace Zabbix with it? Since 5 November 2026 that question is out of date. Zabbix 8.0 LTS accepts OpenTelemetry data itself. The useful question now is which parts of a Zabbix installation have an OpenTelemetry counterpart, which do not, and where OpenTelemetry Collectors sit next to the Zabbix agent.

This post goes through that mapping, concept by concept. It is written for teams that trust their Zabbix and intend to keep it.

Who this guide is for

Infrastructure and platform teams that run Zabbix 6.0, 7.0 or 8.0 and are being asked for logs, traces or “observability” on top. Prerequisites: a working Zabbix installation and root on a few hosts you are allowed to experiment on.

What Zabbix 8.0 changed

Zabbix 8.0 adds application performance monitoring based on OpenTelemetry. The details are on Zabbix’s What’s new page and in its step-by-step guide. Five properties matter when you plan around it. They reflect Zabbix’s documentation at the time of writing, so check them against the version you run:

  • The Zabbix proxy receives the data. The server cannot, so even a setup on one machine needs a proxy with APM support.
  • The proxy accepts OTLP over gRPC. It does not accept OTLP over HTTP. Zabbix’s own guide puts an OpenTelemetry Collector in front for services that only send HTTP.
  • Traces, metrics and logs are stored in ClickHouse, which you install and run in addition to the Zabbix database. Zabbix supplies the scripts that create the tables. Data is kept for 31 days unless you set another period.
  • A new item type, the telemetry query, turns stored telemetry into item values, so triggers and graphs work on it.
  • Templates such as Generic OpenTelemetry by OTLP build on that item type.

That makes Zabbix 8.0 a possible backend for OpenTelemetry data. It does not change how the data is collected on the hosts. Something still has to read the log files, receive the traces from the applications and send OTLP. That something is an OpenTelemetry Collector or an SDK.

If you run 7.0 LTS, there is no hurry. Full support ends on 30 June 2027 and limited support on 30 June 2029, according to Zabbix’s life cycle policy. Zabbix 6.0 LTS is in limited support until 28 February 2027.

What maps and what doesn’t

In Zabbix In OpenTelemetry How well it maps
Agent items for CPU, memory, disks, network hostmetrics receiver Maps. Metric names and units differ, so graphs and thresholds are rebuilt.
Log items (log[], logrt[], Windows event log) filelog, journald and windowseventlog receivers Maps, and you gain searchable log volume in a log backend.
Trapper items and zabbix_sender OTLP from an SDK or a script Maps.
Database monitoring through ODBC or agent 2 plugins Receivers such as postgresql, mysql, oracledb and sql_server Maps for the common databases.
JMX items The OpenTelemetry Java agent, which reads JMX metrics inside the JVM Maps, with a different deployment model.
Simple checks and single-URL web checks http_check, tcp_check, tls_check and icmp_check receivers Maps for single requests. Multi-step web scenarios have no counterpart.
SNMP items and device templates snmp receiver Poorly. You write every OID by hand.
Low-level discovery Partly built in, partly receiver_creator A different model, see below.
Templates linked to host groups Nothing in the collector itself A control plane fills this gap, see below.
Proxies Gateway collectors A similar role.
Triggers, dependencies, escalations, maintenance Not part of OpenTelemetry Stays in Zabbix, or moves to the alerting of your backend.
Maps, inventory, SLA reporting Not part of OpenTelemetry Stays in Zabbix.

Three columns. Maps: agent items to the hostmetrics receiver, log items to filelog and journald, trapper items to OTLP, database checks to database receivers, JMX items to the OpenTelemetry Java agent, simple checks to http_check and tcp_check. Maps with work: low-level discovery, templates, proxies and SNMP. Stays in Zabbix: triggers and escalations, maintenance, maps and inventory, SLA reporting and device templates. A footer notes that Zabbix 8.0 can store OpenTelemetry data that collectors send over gRPC to a Zabbix proxy.

Figure 1. Collection maps well. Central configuration, device knowledge and alerting do not come with the collector.

Three rows need more than a table cell.

Discovery works differently. In Zabbix, discovery finds a filesystem or an interface and creates items and triggers for it. The hostmetrics receiver reports every filesystem and every interface as one metric with an attribute per device, so nothing has to be discovered for collection. What you lose is the trigger that discovery created per device. In a metrics backend that becomes one alert rule over all devices. For targets that come and go, such as containers, the receiver_creator starts a receiver when it finds an endpoint.

Templates are the real gap. A Zabbix template linked to a host group configures a thousand hosts in one place. A plain collector has one YAML file per host and no idea of a template. This is the part of Zabbix that people miss first, and it is the reason a collector fleet needs a control plane.

SNMP is better left alone. The snmp receiver knows nothing about your devices. Zabbix’s network templates hold years of knowledge about vendor MIBs. Rewriting that by hand buys nothing.

Three ways to run both

1. Collectors beside the agent, and a backend for logs and traces. This works with every Zabbix version. Zabbix keeps host states, hardware checks and alerting. OpenTelemetry Collectors run on the hosts where you need more than a state. They collect log files, traces and application metrics and send them to Loki, Elasticsearch, Grafana Cloud or a commercial platform. You have two consoles. Use the same host names in both, and put a link to the log view into the trigger URL, so the alert opens the evidence.

2. Collectors in front of Zabbix 8.0. Collectors send OTLP over gRPC to a Zabbix proxy, Zabbix stores the data in ClickHouse, and telemetry query items turn it into triggers. You have one console. The price is a ClickHouse installation to run and a proxy with APM support. The collector still does the work in front: parsing log formats, dropping noise and masking personal data before anything is stored.

exporters:
  otlp/zabbix:
    endpoint: zabbix-proxy.example.internal:4317
    sending_queue:
      enabled: true
      batch:
        enabled: true

Add the tls settings that match your proxy. On the Zabbix side, TLS for the APM listener is set with the APMTLS parameters of the proxy.

3. Replace agent items with collector metrics, step by step. This is the longest path, and it only makes sense where a receiver covers what the agent item did. Treat it as a separate project with its own business case. Consolidating monitoring agents describes what that takes and what you lose.

On older Zabbix versions there is a bridge for metrics. An HTTP agent item with Prometheus preprocessing reads a Prometheus endpoint, and the collector can offer one with its prometheus exporter. See Zabbix’s Prometheus checks.

Where a control plane fits

Zabbix gives you central configuration through templates and host groups. A plain OpenTelemetry Collector gives you a YAML file per host. Fifty collectors configured by hand are fifty files that slowly stop matching each other, and nothing tells you when one does.

LinkMesh is a self-hosted control plane for OpenTelemetry Collectors, and its model will look familiar to a Zabbix administrator:

  • You define sources, processing and routes once, centrally. That is the job a template does in Zabbix.
  • Collectors belong to collector groups that share a configuration, the way hosts in a host group share templates.
  • LinkMesh renders the configuration and pushes it to the right collectors over OpAMP. It shows which configuration each collector actually applied, and which collectors are offline or run an outdated version.
  • You can run a captured sample through your processors in a preview before anything is rolled out.

Telemetry never flows through LinkMesh. It goes from your collectors straight to your backend, whether that is Loki, Elasticsearch or a Zabbix proxy.

The honest trade-offs

  • Two agents per host. The collector is a second process to patch and watch, at least until you take the third path.
  • Nothing converts your templates. We know of no tool that turns Zabbix templates into collector configuration. Thresholds, graphs and dashboards are rebuilt by hand.
  • Component maturity varies. In contrib v0.165.0, hostmetrics and filelog are rated beta, snmp and http_check alpha, and icmp_check is in development. Read the status line in a component’s README before you depend on it.
  • Alerting needs a home. OpenTelemetry collects and transports. It does not replace your escalation rules. What OpenTelemetry can and cannot replace draws that line in detail.
  • One more system to run. That is LinkMesh, and ClickHouse on the second path. Below a handful of collectors, hand-written YAML is still less work.
  • Log and trace volume costs money in a way item values never did. Drop and sample at the collector, before the data reaches a backend that bills by volume. LinkMesh itself is priced per collector, not per gigabyte.
Adding OpenTelemetry next to Zabbix?

LinkMesh is a self-hosted control plane for OpenTelemetry Collectors: enrol collectors, build pipelines centrally and roll configuration out over OpAMP, with a versioned record of what each node runs. Telemetry never flows through LinkMesh. It stays on your infrastructure. See the features, or set one up in a few minutes.