Hello,
We are using Zabbix 6.0 with SMS notifications, we want to switch to Pushsafer.
The python script "python-pushsafer" returns an error (line 81 def _send(self, payload: dict):)
Could you help me to understand why?
Error Zabbix :
Traceback (most recent call last):
File "/usr/lib/zabbix/alertscripts/zabbix-pushsafer.py", line 20, in <module>
import pushsafer
File "/usr/local/lib/python2.7/dist-packages/pushsafer.py", line 81
def _send(self, payload: dict):
^
SyntaxError: invalid syntax
Regards,
Sam
Zabbix 6.0 - python-pushsfaer
-
- Posts: 1
- Joined: 10. Jun 2022, 10:07
Zabbix 6.0 - python-pushsfaer
- Attachments
-
- 2022-06-10_12-15.png (8.55 KiB) Viewed 5269 times
- admin
- Site Admin
- Posts: 1006
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Zabbix 6.0 - python-pushsfaer
Hi,
it seems you use an old python version (2.7)
I developed and test the python script for verion 3.6 and above!
Please try to update python and try again to use pushsafer in zabbix.
Kevin
it seems you use an old python version (2.7)
I developed and test the python script for verion 3.6 and above!
Please try to update python and try again to use pushsafer in zabbix.
Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Who is online
Users browsing this forum: No registered users and 65 guests