Closed Luubosi closed 4 years ago
Please use code syntax hight light for readability. https://github.github.com/gfm/#fenced-code-blocks And please consider to migrate to terraform-provider-graylog/terraform-provider-graylog.
If you use go-graylog, please read the document. https://github.com/suzuki-shunsuke/go-graylog/blob/master/docs/resources/alarm_callback.md#type-other-third-partys-alarm-callback
I don't try it yet, but maybe it works well.
hi, thanks very much for your help, this works :)
resource "graylog_alarm_callback" "tfAlertmanagercallback" {
type = "de.gdata.mobilelab.alertmanagercallback.AlertManagerAlarmCallback"
stream_id = "5e6247f552faff000f091da4"
#stream_id = graylog_stream.test.id
title = "tfAlertmanagercallback"
general_string_configuration = {
alertmanager_custom_annotations = "severity=critical,streamtitle=streamtitle"
alertmanager_api_url = "http://fqdn:9093/api/v1/alerts"
alertmanager_alert_name = "tfAlertmanagercallback"
alertmanager_custom_labels = "sourcelabel=graylog,streamtitle=streamtitle"
}
}
Please, could you add support for AlertManager plugin? resource "graylog_alarm_callback" "alertmanager"
we are using this version: https://github.com/GDATASoftwareAG/Graylog-Plugin-AlertManager-Callback/releases/download/1.2.1/graylog-plugin-alertmanagercallback-1.2.1.jar
Would it be possible to add to version graylog provider: go-graylog-10.0.1 we are using graylog 3.0.2
`get /alerts/callbacks/types
Our configuration: get /alerts/callbacks