File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
netdata_notification_discord_channel
netdata_notification_slack_channel Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ resource "netdata_notification_discord_channel" "test" {
2121 rooms_id = ["<room_id>"]
2222 repeat_notification_min = 30
2323 webhook_url = "https://discord.com/api/webhooks/0000000000000/XXXXXXXXXXXXXXXXXXXXXXXX"
24- alarms = "ALARMS_SETTING_ALL"
24+ notifications = ["CRITICAL", "WARNING", "CLEAR"]
2525 channel_type = "text"
2626}
2727```
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ resource "netdata_notification_pagerduty_channel" "test" {
1919 enabled = true
2020 space_id = netdata_space.test.id
2121 rooms_id = ["<room_id>"]
22- alarms = "ALARMS_SETTING_ALL"
22+ notifications = ["CRITICAL", "WARNING", "CLEAR"]
2323 repeat_notification_min = 30
2424 alert_events_url = "https://events.pagerduty.com/v2/enqueue"
2525 integration_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ resource "netdata_notification_slack_channel" "test" {
2121 rooms_id = ["<room_id>"]
2222 repeat_notification_min = 30
2323 webhook_url = "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
24- alarms = "ALARMS_SETTING_ALL"
24+ notifications = ["CRITICAL", "WARNING", "CLEAR"]
2525}
2626```
2727
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ resource "netdata_notification_discord_channel" "test" {
66 rooms_id = [" <room_id>" ]
77 repeat_notification_min = 30
88 webhook_url = " https://discord.com/api/webhooks/0000000000000/XXXXXXXXXXXXXXXXXXXXXXXX"
9- alarms = " ALARMS_SETTING_ALL "
9+ notifications = [ " CRITICAL " , " WARNING " , " CLEAR " ]
1010 channel_type = " text"
1111}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "netdata_notification_pagerduty_channel" "test" {
44 enabled = true
55 space_id = netdata_space. test . id
66 rooms_id = [" <room_id>" ]
7- alarms = " ALARMS_SETTING_ALL "
7+ notifications = [ " CRITICAL " , " WARNING " , " CLEAR " ]
88 repeat_notification_min = 30
99 alert_events_url = " https://events.pagerduty.com/v2/enqueue"
1010 integration_key = " XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ resource "netdata_notification_slack_channel" "test" {
66 rooms_id = [" <room_id>" ]
77 repeat_notification_min = 30
88 webhook_url = " https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
9- alarms = " ALARMS_SETTING_ALL "
9+ notifications = [ " CRITICAL " , " WARNING " , " CLEAR " ]
1010}
You can’t perform that action at this time.
0 commit comments