Zabbix 6.0 - python-pushsfaer
Posted: 10. Jun 2022, 10:17
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
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