Open source Enterprise Grafana Cloud

Zabbix annotations

Annotations overlay event markers on graph panels, letting you correlate Zabbix problems and recovery events with metric data. When a Zabbix trigger fires or recovers, the annotation appears as a vertical line on the graph at the time the event occurred.

Before you begin

Add an annotation query

To add Zabbix annotations to a dashboard:

  1. Open a dashboard and click Dashboard settings (gear icon).
  2. Click Annotations in the left menu.
  3. Click Add annotation query.
  4. Select the Zabbix data source.
  5. Configure the annotation query fields described in the following sections.
  6. Click Apply.

Annotation query fields

Use the following fields to filter which Zabbix problems appear as annotations.

FieldDescription
GroupFilter by host group. Select from the drop-down or type a custom value. Supports regex and template variables.
HostFilter by host. Select from the drop-down or type a custom value. Supports regex and template variables.
ApplicationFilter by application. Select from the drop-down or type a custom value. Supports regex and template variables.
ProblemFilter by problem name. Type a text string to match against trigger descriptions.
Min severityShow only events at or above this severity level: Not classified, Information, Warning, Average, High, or Disaster.

Annotation options

These toggle options control which events appear and what information is displayed.

OptionDescription
Show OK eventsDisplay recovery (OK) events as annotations in addition to problem events.
Hide acknowledged eventsExclude problems that have been acknowledged in Zabbix.
Show hostnameInclude the hostname in the annotation text.

Example: monitor high-severity events

To annotate a dashboard with only high-severity and disaster-level problems from your production servers:

  1. Set Group to the host group containing your production servers (for example, Production).
  2. Set Host to /.*/ to include all hosts in the group.
  3. Set Min severity to High.
  4. Enable Show OK events to see both when problems start and when they resolve.
  5. Enable Show hostname to identify which host triggered each event.

Next steps