-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
6.4.9
-
None
-
RHEL8, MariaDB, Zabbix Server 6.4.9
Steps to reproduce:
Our Zabbix-server.service is crashing since updating to 6.4.9 from 6.4.8.
It crashes when sending a Webhook to MS Teams.
The message is getting posted to teams but the service crashes as soon as the webhook is executed.
Crash log is attached. Issue is not present in 6.4.8 and I have continued to use this version on our production zabbix instance.
//My Webhook Script
try {
var params = JSON.parse(value),
req = new HttpRequest(),
response;
if (params.HTTPProxy)
req.addHeader('Content-Type: application/json');
Zabbix.log(4, '[ LATeams webhook ] Webhook request with value=' + value);
var response = req.post(params.hookURL, JSON.stringify(params));
return 'OK';
}
catch (error)
Result:
Zabbix.service stops as soon as the webhook is triggered, I can trigger this by using the test function, or an alert can trigger it.
214079:20231207:131553.679 Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...
Above is the error line I am getting each time Zabbix crashes but I cannot workout what is causing it and why this has occurred since upgrading from 6.4.8 to 6.4.9.
Any help would be appreciated.
- duplicates
-
ZBX-23787 processes are crashing in "zbx_replace_invalid_utf8" call
- Closed