Skip to content
No description, website, or topics provided.
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
send_sms.sh Script to send SMS alert messages from Zabbix Jun 26, 2018

README.md

send_smsglobal_zabbix

On Zabbix you can send an alert through a SMS gateway. On this case, we'll be using SMSGLOBAL (www.smsglobal.com)

What you'll need:

  1. Curl;
  2. SMS Global Master API Key; you can get that here: https://mxt.smsglobal.com/integrations;
  3. Credits in your account.

How to add the script to Zabbix (Tested on Zabbix Server 3.4):

  1. Administration > Media Types
  2. Add a new "Script" media Type
		Name: SMS Global - SMS
		Type: Script
		Script name: send_sms.sh
		Script parameters:
		PARAMETER 1: {ALERT.SENDTO}
		PARAMETER 2: {ALERT.MESSAGE}
  1. Create an action and make sure it has the "SEND SMS" enabled on it.
  2. Copy the script send_sms.sh to your Zabbix server on: /usr/lib/zabbix/alertscripts
  3. Add permission to the file:
		chmod +x /usr/lib/zabbix/alertscripts/send_sms.sh
		chown zabbix:zabbix /usr/lib/zabbix/alertscripts/send_sms.sh
  1. Your user's Media should look like (Assuming their Mobile phone is +61 28 555111):
Type: SMS Global - SMS
Send to: 6128555111

If you have any questions/improvements please, get in touch!

You can’t perform that action at this time.