ZABBIX

Send a Push-Notification by pushsafer.com out of ZABBIX to iOS, Android and Windows 10 devices

Download & Install

https://share.zabbix.com/cat-notifications/pushsafer-notification-script or https://github.com/appzer/zabbix-pushsafer

Requirements

pip install python-pushsafer

Usage

usage: zabbix-pushsafer.py [-h] privatekey Subject Message
Send Zabbix notification to Pushsafer enabled devices.
positional arguments:
PrivateKey Pushsafer Private or Alias Key
Subject Subject you want to push to the device(s).
Message Message you want to push to the device(s).

optional arguments: -h, --help show this help message and exit

Configuration

Copy the zabbix-pushsafer.py script to your Zabbix alert scripts directory. Usually this is /usr/lib/zabbix/alertscripts but configuration can differs depending on how you installed Zabbix. In doubt, check your zabbix_server.conf.

Configure the media type

Go to your Zabbix Administration / Media types screen and add a new media. Specify the name of the script in script name and check that the parameters are correct.
Pushsafer ZABBIX Configure the media type

Configure the user media

You will need then to add the media to your users. For this just edit an user and add a media selecting the one you just created before. Specify the Private or Alias Key in the Send to field.
Pushsafer ZABBIX Configure the user media

For more information about replacing values (title, message, icon, sound, vibration) in your push notification, check out our API description!


Copyright © Pushsafer.com, All rights reserved.