Closed TonyNoIT closed 1 year ago
All this things works
Read the article
Sorry, but i read and test many times - text arrives in Telegram in this way.
In case of success you will see no errors and you will get your message.
ok - sorry Add to readme this plz
Идем в Администрирование — Способы оповещений, жмем кнопку «Создать способ оповещений». В поле «Имя» вводим название способа оповещения. В поле «Тип» нужно выбрать «Скрипт». В поле «Имя скрипта» нужно указать имя файла-скрипт, без пути; например, zbxtg.py В поле «Параметры скрипта» нужно нажать «Добавить» 3 раза и ввести в появившиеся поля {ALERT.SENDTO}, {ALERT.SUBJECT} и {ALERT.MESSAGE}.
Hello Everything works not with Zabbix
Inside Zabbix - the same
As i understand - Zabbix run script, but in Telegram - nothing In Zabbix log - nothing, here
zbx_tg_tmp_dir = "/var/lib/zabbix/" + zbx_tg_prefix # directory for saving caches, uids, cookies, etc.
nothing.