Can I connect my SMS Gateway to Zabbix?
Yes.
This guide describes how to integrate Zabbix 5.4 installation with Brevis.one SMS Gateway using HTTP API and Zabbix webhook feature.
This guide provides instructions on setting up a media type, a user, and an action in Zabbix.
ê It is recommended to create a new user for accessing the HTTP API.
i Supported version: Zabbix 5.4 and higher
iThis articel is based on https://www.zabbix.com/integrations/brevis / https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/media/brevis.one
1. Setting up brevis.one
-
Create a user for HTTP API or use an existing one.
-
Grant to the user Access to the HTTP API permission.
2. Setting up the webhook in Zabbix
-
Before setting up a media type, you need to set up a global macro "{$ZABBIX.URL}", which must contain the URL to Zabbix frontend.
-
In the Administration > Media types section, import media_brevis.one.xml.
-
Open the newly added brevis.one media type and replace all <PLACEHOLDERS> with your values.
The following parameters should be filled out:
endpoint - the actual URL of your brevis.one API instance. The API can be addressed with the following: https://<SMS Gateway IP>/api.php
username - brevis.one API username.
password - user's password.
-
The following parameters can help you customize the alerts: *ring, flash, telauto
See HTTP API Documentation for details.
-
Create a service Zabbix user or use any existing user, then add Media with the brevis.one. The "Send to" field should be filled as a phone number without a plus (+) sign or as "mode:option".
Allowed modes: number (Default), group, telgroup, telnumber, user, teluser.
Examples:
37167784742 (Send SMS to the individual telephone number)
group:11 (Send a text message to the specified user group. User groups are managed in the Configuration - Groups.)
telnumber:37167784742 (Send a message via Automatic to the individual telephone number. Automatic tries to deliver the notification via Telegram. If this fails the notification will be delivered by a text message.)
❕ The "Send to" field cannot be empty. If the phone number or user/group ID is already specified in the send_to parameter, you can put any symbol in this field to comply with frontend requirements. Make sure this user has access to all hosts, for which you would like problem notifications to be sent via brevis.one HTTP API.
Related articles
- Can I automate the sending of text messages?
- Can I automate the sending of text messages?
- Can I connect my SMS Gateway to Centreon?
- Can my SMS Gateway send notifications from Check_MK?
- Can I connect my SMS Gateway to Nagios, Icinga 1 or Icinga 2?
- Can I connect my SMS Gateway to SNAG-View?
- Can I connect my SMS Gateway to Zabbix?
- Can I monitor the functions of the SMS Gateway?
- How can I import checks into integrated monitoring?
- Messages Status
- Monitor the SMS Gateway
- HTTP API
- Firmware Update
- How can I update the firmware of my SMS Gateway?
- Help