Skip to content

lpossamai/send_smsglobal_zabbix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages