Zabbix integration

Updated at:

This topic describes how to integrate Zabbix as a monitoring source.

Introduction

Zabbix is a free, open source monitoring software that provides extensive monitoring capabilities. You can use the Event Center to quickly and easily integrate Zabbix. Follow the steps in this topic to integrate Zabbix alerts.

How to integrate Zabbix

Step 1: Find the Zabbix monitoring source

Navigate to Event Center > Integration Hub > Integration Configuration and find the Zabbix monitoring source. On the Zabbix integration page, follow the on-screen steps to complete the alert integration.

Step 2: Find the script folder in the Zabbix installation directory

cat /etc/zabbix/zabbix_server.conf | grep alert
cd ${datadir}/zabbix/alertscripts

image.png

Step 3: Get the configuration file package

Click the Download Package button to download the configuration file package, or click the Copy button to copy the download link. After the package is downloaded, decompress it.

Step 4: Install the configuration file

tar -xzvf aliyunalert.tgz 
cd aliyunalert/bin
sh install.sh {Integration Key}
Note

The {Integration Key} in the install.sh command is the integration key for Zabbix, which can be found in the console.

Other notes:

  1. During the installation, you will be prompted to enter the Zabbix management or web logon address, administrator username, and password.

  2. Example of a valid Zabbix management address: http://zabbix.server.com/zabbix.

Step 4: Confirm integration

After you complete the preceding steps, return to the Integration Configuration > New Integration page for the Zabbix monitoring source. Click Confirm Integration to complete the configuration.

Step 5: Verify that the integration is successful

1. After the configuration file is successfully installed, open the Zabbix console. Check the message status for the action recipient named "Aliyun Alert Action". The integration is successful if the status is "Delivered".

2. In Zabbix, configure alerting, subscribe to a rule, and trigger an alert. Then, navigate to the Integration Configuration page. The integration is successful if the alert status for the Zabbix monitoring source is "Received".