Test to telegram failed - general error again

Hello all !

Component Version
LibreNMS 21.8.0-41-g0a76ca444
DB Schema 2021_25_01_0129_isis_adjacencies_nullable (217)
PHP 7.3.20
Python 3.6.8
MySQL 10.3.28-MariaDB
RRDTool 1.7.0
SNMP NET-SNMP 5.8

====================================
For test I used
curl -i -X GET “https://api.telegram.org/botxxxxxxxx/sendMessage?chat_id=xxxxx&text=hello
from console, telegram got message but from LibreNMS Error.

Hi,

did you check the logs for which error this gives? Have you chatted with the bot before and is the configuration correct? Can the NMS-server reach the API?

Is the chat id and token in the correct format? For example, for this URL
https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/getMe

the correct token would be 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11

Now telegram alerting working well, but when I press test button appears error !
Strangely.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.