Hi all. I'm trying to get Zabbix and Telegram to work, using this article here.
The problem I'm having is that, when I test it using the "Test" button, it works. But when using it via Actions, I get: Sending failed: Bad Request: chat not found.
This is the Zabbix Server log:
I've attached a screenshot of the user Media configuration.
What am I missing here?
Thanks!
The problem I'm having is that, when I test it using the "Test" button, it works. But when using it via Actions, I get: Sending failed: Bad Request: chat not found.
This is the Zabbix Server log:
Code:
38208:20220105:235544.577 [Telegram Webhook] HTTP code: 400
38208:20220105:235544.578 [Telegram Webhook] notification failed: Bad Request: chat not found
38206:20220105:235554.605 [Telegram Webhook] URL: https://api.telegram.org/bot<TOKEN>/sendMessage
38206:20220105:235554.605 [Telegram Webhook] params: {"chat_id":"{ALERT.TO}","text":"Problem: Zabbix agent is not available (for 3m)\nProblem started at 10:55:42 on 2022.01.06\r\nProblem name: Zabbix agent is not available (for 3m)\r\nHost: pgsql-master.example.com\r\nSeverity: Average\r\nOperational data: not available (0)\r\nOriginal problem ID: 70\r\n","disable_web_page_preview":true,"disable_n otification":false,"parse_mode":"Markdown"}
What am I missing here?
Thanks!
Comment