Zabbix
Send events to Squadcast from Zabbix
Last updated
Send events to Squadcast from Zabbix
Last updated
Zabbix is a mature, enterprise-level platform that allows you to monitor large-scale IT environments comprising servers, networks, applications, and services.
Route detailed monitoring alerts from Zabbix to the right users in Squadcast.
Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
2. Select Zabbix. Copy the displayed Webhook URL to configure it within Zabbix. Finish by clicking Add Alert Source -> Done.
Important:
When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
(1) Navigate to Zabbix’s AlertScriptsPath
directory. This is usually /etc/zabbix/alert.d
or /usr/local/share/zabbix/alertscripts
. Check your zabbix\_server.conf
file to see how this option is configured.
(2) In this directory, run the following command:
Once the file is downloaded, ensure that it has executable permissions for your Zabbix user. If not then please provide the same using the following command:
Important
The Squadcast script for Zabbix requires Python 3 to be installed on the machine running Zabbix. Any other version of Python (other than Python 3) will not support this script.
(3) Head over to the Administration tab and then click on Media types. Click on Create Media type to create a new Media Type with the following configuration
Additionally, ensure Enabled checkbox is selected and then click on Add
(4) Now you can add this Media Type to any User/s of Zabbix. To do so, navigate to Administration tab and select Users from the drop-down. Here, select Media tab and click on Add
Type: Either pick Squadcast or add a name, such as Squadcast
Send to: Paste the copied Zabbix Webhook URL from Squadcast
When active: Specify suitable values
Use if severity: Select appropriate checkboxes
Click on Add to save the Media for the User
(5) Make sure you click on Update button in the Media page to save these details
(6) Navigate to the Configuration tab and click on Actions. Click on Create Action and enter a meaningful name, such as Squadcast Notifications
(7) Switch to Operations" tab on the same page and configure the parameters as per your requirements
Copy-paste the following in the ‘Default Message’ field:
(8) Similarly, switch to Recovery operations tab and configure the following: Copy-paste the following in the ‘Default Message’ field:
(9) Finally click on Add to save Squadcast Notifications
That's it, our Zabbix integration is now good to go! Whenever Zabbix fires an alert, an incident is created in Squadcast for the same.
FAQ:
Q: If an alert gets resolved in Zabbix, does Zabbix send auto-resolve signals to Squadcast?
A: Yes, Zabbix sends alert auto-resolve signals to Squadcast, thus supporting auto-resolution of incidents in Squadcast.
Important
The user whose media is configured to send alerts to Squadcast must belong to a user-group having read permission on the Host Group which needs to be monitored by Squadcast inorder to send the alerts.