Skip to main content

Overview

Zabbix is an open-source enterprise monitoring solution. Easyalert receives alerts from Zabbix via webhook media type, automatically creating incidents from trigger events.
This integration works with Zabbix 5.0+ which supports native webhook media types.

Requirements

  • Zabbix 5.0 or higher (for Webhook media type support)
  • Easyalert account and active tenant
  • Admin privileges in Zabbix

Setup Instructions

1

Create Integration in Easyalert

  1. Go to Integrations page from left menu
  2. Click Add Integration button
  3. Select Zabbix as Source Type
  4. Enter a name (e.g., Zabbix Production)
  5. Click Create to save
  6. Copy the generated Webhook URL
Example: https://api.easyalert.io/api/v1/webhooks/ingest/wh_abc123...
2

Create Media Type in Zabbix

Go to Administration → Media types → Create media type
3

Add Parameters

Click Add link to add each parameter one by one:
4

Add Webhook Script

Copy this script into the Script section:
5

Add Message Templates (Required)

Switch to Message templates tab and add these two templates:Problem:Problem Recovery:
6

Configure Other Settings

7

Create Webhook User

Go to Administration → Users → Create userSwitch to Media tab and click Add:
8

Create Action

Go to Configuration → Actions → Trigger actions → Create actionAction Tab:Operations Tab - Click Add:Recovery Operations: Add same settings for resolved alerts.

Field Mapping

Easyalert automatically maps Zabbix fields:

Severity Mapping


Status Handling

Recovery events (OK status) automatically resolve the corresponding incident.

Using Tags

Zabbix tags are used for routing in Easyalert.

Where to Define Tags

Example Tags

Usage in Easyalert

In Escalation Routing:

Test

After completing Zabbix setup, you can test manually:

Troubleshooting

  1. Check if Media Type is active 2. Verify media is added to user 3. Check if Action is enabled 4. Review Zabbix action logs for errors
  1. Verify event_tags, host_tags, trigger_tags are in Parameters 2. Check if the script is complete 3. Ensure “Process tags” is checked in media type settings
  1. Check if Zabbix sends numeric (0-5) or text severity 2. Configure appropriate severity mapping 3. View webhook samples to see actual values
  1. Verify recovery operations are enabled in Zabbix action 2. Check the trigger_status field is included in payload 3. Ensure event_id matches between PROBLEM and OK events
  1. Check firewall/network settings 2. Verify Zabbix server can reach Easyalert API 3. Test connectivity with curl from Zabbix server
  1. Verify Webhook URL is correct 2. Check if integration is active in Easyalert 3. Regenerate webhook token if needed

Best Practices

Add tags in Zabbix for better routing and filtering in Easyalert. Tags like environment, team, and service help with escalation routing.
Add {TRIGGER.URL} parameter to help responders quickly navigate to Zabbix for more details.
Enable recovery operations to automatically resolve incidents when the problem clears.
Use Information or Warning severity triggers for initial testing to avoid unnecessary escalations.
Use Zabbix host groups to organize hosts and include group info in tags for routing.