You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yzhan289 did you ever get a resolution to this? I am having the same issue setting up Event collection using the script recommended by both zabbix and datadog?
`try {
Zabbix.Log(4, '[datadog webhook] received value=' + value);
var params = JSON.parse(value);
var req = new CurlHttpRequest();
req.AddHeader('Content-Type: application/json');
var webhook_url = 'https://app.datadoghq.com/intake/webhook/zabbix?api_key=' + params.api_key;
var webhook_data = value;
var resp = req.Post(webhook_url, webhook_data);
if (req.Status() != 202) {
throw 'Response code: '+req.Status();
}
Zabbix.Log(4, '[datadog webhook] received response with status code ' + req.Status() + '\n' + resp);
} catch (error) {
Zabbix.Log(4, '[datadog webhook] event creation failed json : ' + webhook_data)
Zabbix.Log(4, '[datadog webhook] event creation failed : ' + error);
}
return JSON.stringify({});`
We are trying to send Zabbix Alerts into DD so that we can have them in one place.
We are using the below link for the integration.
https://docs.datadoghq.com/integrations/zabbix/
The integration shows successful OK and we are able to get Zabbix metrics, however we are not receiving Zabbix alerts as events into datadog.
We tried reaching the DD team and they directed us here. Here is their response, which might help.
Error log from DD flare.
![Error log from DD flare](https://camo.githubusercontent.com/41c08bd6a350094b12c5f372f769f1988958d77e7b07d356d0fc06de8ed7acce/68747470733a2f2f702d716b66676f322e74322e6e302e63646e2e676574636c6f75646170702e636f6d2f6974656d732f79417541456a454c2f31366438663933662d356263332d346363372d396461302d3666336333633165643939372e6a70673f736f757263653d76696577657226763d3766386439396634383262616333616534626536613662626661613161623637)
Error observed on the media type integration page.
Additionally they pointed out that the error is origination from this piece of code.
![Code](https://camo.githubusercontent.com/81adb6d710a859da5be9b4e009286a6012017ee1d74451f6a99371ee9a498c1e/68747470733a2f2f702d716b66676f322e74322e6e302e63646e2e676574636c6f75646170702e636f6d2f6974656d732f3671754e676b37412f33373461633438352d633265372d343133302d396461332d6531633136386130383566642e6a70673f736f757263653d76696577657226763d3862323536303436663733336531356532646464643461323465336666653838)
The text was updated successfully, but these errors were encountered: