appzer / zabbix-pushsafer

A python script for sending pushsafer.com notifications in ZABBIX.
https://www.pushsafer.com
7 stars 2 forks source link

Other parameter in Client("").send_message #2

Closed piotrgawor closed 4 years ago

piotrgawor commented 5 years ago

Are the other parameters described somewhere? Client("").send_message(message, subject, "", .... I want to send different icon and sound in notification.

appzer commented 5 years ago

Hi you can take a look at the phyton package which is used by the zabbix plugin https://github.com/appzer/python-pushsafer

Or you can create diffrent ALIASES with diffrent icons or sounds in the pushsafer dashboard. This new alias key you have to use as private key.

Kevin

appzer commented 4 years ago

yes, you can do like this: Client("").send_message(message, title, device, icon, sound, vibration, url, urltitle, time2live, priority, retry, expire, answer, picture1, picture2, picture3)