Hello,
My Librenms suddenly cannot send telegram alert, but the test button can be sent to telegram normally.
Alert history and notification records are also normal.
Version Info.:
Component | Version |
---|---|
LibreNMS | 1.42 |
DB Schema | 257 |
PHP | 7.0.30-0ubuntu0.16.04.1 |
MySQL | 10.0.34-MariaDB-0ubuntu0.16.04.1 |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
====================================
The alert template has been converted to the new version of the alert template, and alert sending has started using the new alert transport setting.
However, when I use ./alert.php, there are several times when the message appears:
root@mon1:/opt/librenms# ./alerts.php
Start: Fri, 03 Aug 2018 10:30:56 +0800
ClearStaleAlerts():
RunFollowUp():
RunAlerts():
Issuing Alert-UID #40852/1: telegram => ^[[A
string(21) "API '' returned Error"
string(8) "Params: "
string(152) "Return: {"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Unsupported start tag \"[email protected]\" at byte
offset 120"}"
ERROR: HTTP Status code 400
;
Issuing Alert-UID #40723/1:
In alerts.inc.php(394) : eval()'d code line 11:
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
Can I solve the problem from there? thanks.