/zabbix

Official Zabbix Plugin for sending SMS via seven

Primary LanguagePythonMIT LicenseMIT

Official Plugin for Zabbix

Prerequisites

  • Python 2.x / 3.x
  • Zabbix (tested on Zabbix 5.4)
  • An API key from seven - you can create one in your developer dashboard

Installation

  1. Copy seven.py to the Zabbix alertscripts directory - usually in /usr/lib/zabbix/alertscripts
  2. Make sure the script is executable by running chmod +x /usr/lib/zabbix/alertscripts/seven.py
  3. Open the Zabbix web interface, usually at http://localhost/zabbix
  4. Navigate to Administration > Media types
  5. Click "Create media type" and fill out the fields like this
  6. You can send a test SMS by clicking "Test" in the media types list and submitting a filled in form
  7. Go to Users, choose one, go to Media and click on "Add"
  8. Fill out the form like this
  9. Click "Add" and "Update" to save the changes

Usage

Available options:

seven.py 
[-h] 
[--debug]
[--delay DELAY]
[--details]
[--flash]
[--foreign_id FOREIGN_ID] 
[--from FROM] 
[--json] 
[--label LABEL] 
[--no_reload] 
[--performance_tracking] 
[--return_msg_id] 
[--ttl TTL] 
[--udh UDH] 
[--unicode]
[--utf8]
api_key to text

Support

Do you need help? Feel free to contact us.

MIT