Open XaTTa6bl4 opened 5 years ago
@XaTTa6bl4 are you using emojis? If yes - I probably can fix it. If not - please, provide input and output, not just errors.
Yes, I'm using emojis. Example:
/usr/lib/zabbix/alertscripts/zbxtg_group.py 'TGroup' '{{OK}} RECOVER: *Unavailable by ICMP ping*, IP:10.0.23.101' '_SwitchName_12_ zbxtg;markdown'
@XaTTa6bl4 thanks. Let's hope that users won't be using more than one emoji. Dirty hack applied. Please, test it.
With python2, markdown errors are processed and corrected as described in https://github.com/ableev/Zabbix-in-Telegram/wiki/Markdown-and-HTML In log:
but with python3 we can see cyclic error: