Zabbix 4.4+ Integration
The ilert Zabbix Integration helps you to easily connect ilert with Zabbix.
Last updated
The ilert Zabbix Integration helps you to easily connect ilert with Zabbix.
Last updated
(c) 2011 - 2024 ilert GmbH
Are you using Zabbix 4.3 or lower? Please refer to our Zabbix 2.2 - 4.3 Integration guide.
Zabbix 4.4+
Go to Alert sources --> Alert sources and click on Create new alert source
Search for Zabbix in the search field, click on the Zabbix tile and click on Next.
Give your alert source a name, optionally assign teams and click Next.
Select an escalation policy by creating a new one or assigning an existing one.
Select you Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.
The next page show additional settings such as customer alert templates or notification prioritiy. Click on Finish setup for now.
On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.
1. Go to the Administration → User groups tab and click on the Create user group button.
2. Set the name for the ilert group (eg. "ilert group").
3. Switch to the Permissions tab and select the host groups that the ilert group should have read access to, for sending notifications. Without read access, ilert cannot receive notifications for the hosts in the group (see also here).
4. Click the Add button to save the group.
5. Switch to the Users tab and click on the Create user button.
6. Assign an alias and name and add the user to the ilert group. No further details such as a password are required as this user will not log in to Zabbix.
7. Switch to the Media tab and click on the Add link
8. In the media window, select ilert as Type
9. In the Send to field enter the alert source api key that you generated in ilert
10. Click the Add button
11. Click the Add button in the Users tab to save the user.
1. Switch to the Configuration → Actions tab and click the Create action button
2. Give the action a name, eg "ilert notifications".
3. Perform the following actions on the Operations, Recovery operations and Acknowledgment operations tabs
4. Change the default subject and default message if you want.
5. Click on the New link under Operations and select the iLert group created above under Send to User groups.
6. Click the Add button to save the action
ilert supports a mapping configuration for your Zabbix alert source that allows you to map the standard Zabbix severities to ilert priorities. Just enable the checkbox for Priority mapping under Zabbix settings.
As the Zabbix API allows for problems to be acknowledged, ilert offers a setting to configure your Zabbix alert source in bidirectional mode. This will automatically create a connector and alert action for your alert source that will pipe accept events from ilert to Zabbix and acknowledge the problem related to the ilert alert.
Enable the Bidirectional checkbox during your alert sources creation. The Url and Api key will show up under Zabbix settings, please provide both and create your alert source. You will see that a connector and alert action have been setup automatically for your alert source.
You cannot add bidirectional mode after an alert source has already been created. You will have to create a new alert source. Bidirectional mode cannot be enabled through the API.
Are alerts automatically resolved in ilert?
Yes, as soon as the status of an alert is OK in Zabbix, the associated alert will be resolved in ilert.
Can I link Zabbix to multiple alert sources in ilert?
Yes, create several ilert users in Zabbix and store the corresponding API key in the user Send To field.
What if my internet connection is lost? Are the events generated in Zabbix lost?
No events are lost. The zabbix server tries to send the events to ilert every 30 seconds with 10 attempts (can be configured in media type settings). As soon as your connection is available again, all events are sent to ilert. We also recommend that you monitor your Internet connection with an external monitoring service. You can then send these alerts to ilert too.
While testing the media type I am receiving "Invalid API key" responses, why?
When testing the media type, you will need to provide the ilert alert source API key again and replace the '.ILERT.ALERT.SOURCE.KEY
' field, as it is not filled automatically by Zabbix.
The plugin does not work. How do I find the issue?
Please look at the Problems View in Zabbix under the actions column first. If you can not find the error, please contact our support at support@ilert.com.
Will problems in Zabbix be acknowledged if I accept the alert in ilert?
If you have enabled the bidirectional setup during your alet source creation in ilert, yes. See Bidectional sync.
Zabbix links in ilert alerts are invalid, what's wrong?
This is probably because the URL of your Zabbix interface is not configured in the media type settings. Go Administration --> Media types and open ilert. In the Parameters sections, make sure that the value for ZABBIX.URL
is correct. Example:
This blog post in the Zabbix blog outlines how to use Zabbix and ilert with multiple on-call teams, where each team is responsible for a set of host groups in Zabbix, and therefore, will only receive alerts for the services it is responsible for: