Jocelyn Collado-Kuri 0d64736e86 Adds support for host tags (#2140)
## Sumary
When dealing with multiple hosts, it can be hard for customers filter
through and figure out which host to query metric data from. This PR
aims to make this easier by adding support for host tags so that there
is another layer of filtering / grouping applied for hosts.

## Detailed explanation
- Adds new UI components to allow adding one or more host tag filter,
and a switch to choose between `AND/OR` and `OR` operators when using
more than one filter following Zabbix's UI:
  

https://github.com/user-attachments/assets/c971f5eb-7e93-4238-bd6b-902cc657c014


https://github.com/user-attachments/assets/5f8996de-684e-4ffa-b98e-8e205c4fc1df

- Modifies the existing `getHosts` function to make a call to the
backend with a few additional parameters to `extend` (essentially
extract) the host tags for a given selected group. No backend changes
were required for this.

## Why
To make it easier for customers to query metric data when dealing with
multiple hosts.

## How to test
- Go to explore or a dashboard and create a Zabbix query where the query
type is `Metrics`
- The easiest way to test is by selecting `/.*/` for Groups, checking
the returned `Hosts` they should all be there
- Add a host tag filter and change the keys and operators as well as
switching from `AND/OR` to `OR` you should see how the values returned
for `Host` changes

## Future work
Adding variable support for host tags once this is completed.

Fixes:
https://github.com/orgs/grafana/projects/457/views/40?pane=issue&itemId=3609900134&issue=grafana%7Coss-big-tent-squad%7C126
and https://github.com/grafana/grafana-zabbix/issues/927

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2026-01-05 05:30:55 -08:00
2024-11-27 10:32:48 +00:00
2026-01-05 05:30:55 -08:00
2026-01-05 05:30:55 -08:00
2025-02-04 18:04:07 +07:00
2023-09-28 15:48:41 +02:00
2017-07-25 00:03:52 +03:00
2025-10-17 09:47:21 +00:00
2025-09-18 16:36:00 +02:00
2024-01-08 17:45:55 +00:00
2024-02-06 08:14:06 +00:00

Zabbix plugin for Grafana

Version Change Log Docs

Dashboard

Features

  • Select multiple metrics by using Regex
  • Create interactive and reusable dashboards with template variables
  • Show events on graphs with Annotations
  • Display active problems with Triggers panel
  • Transform and shape your data with metric processing functions (Avg, Median, Min, Max, Multiply, Summarize, Time shift, Alias)
  • Find problems faster with Alerting feature
  • Mix metrics from multiple data sources in the same dashboard or even graph
  • Discover and share dashboards in the official library

See all features overview and dashboards examples at Grafana-Zabbix Live demo site. Visit plugins page at grafana.com and check out available Grafana data sources, panels and dashboards.

Installation

Install by using grafana-cli

grafana-cli plugins install alexanderzobnin-zabbix-app

Or see more installation options in docs.

Getting started

First, configure Zabbix data source. Then you can create your first dashboard with step-by-step Getting started guide.

Documentation

Community Resources, Feedback, and Support

  • Found a bug? Want a new feature? Feel free to open an issue.
  • Have a question? You also can open issue, but for questions, it would be better to use Grafana Community portal.
Description
grafana zabbix fork
Readme Apache-2.0 18 MiB
Languages
TypeScript 68.4%
Go 22.8%
SCSS 5.3%
JavaScript 1.3%
Python 1%
Other 1.1%