Skip to content

Commit

Permalink
Add alertmanager webhook receivers for notification manager
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin <[email protected]>
  • Loading branch information
Benjamin committed Jul 22, 2020
1 parent 5d275e6 commit a89a3bb
Showing 1 changed file with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ stringData:
- "name": "Default"
- "name": "Watchdog"
- "name": "Critical"
- "name": "prometheus"
"webhook_configs":
- "url": "http://notification-manager-svc.kubesphere-monitoring-system.svc:19093/api/v2/alerts"
- "name": "event"
"webhook_configs":
- "send_resolved": false
"url": "http://notification-manager-svc.kubesphere-monitoring-system.svc:19093/api/v2/alerts"
- "name": "auditing"
"webhook_configs":
- "send_resolved": false
"url": "http://notification-manager-svc.kubesphere-monitoring-system.svc:19093/api/v2/alerts"
"route":
"group_by":
- "namespace"
Expand All @@ -42,4 +53,15 @@ stringData:
- "match":
"severity": "critical"
"receiver": "Critical"
type: Opaque
- "match":
"alerttype": ""
"receiver": "prometheus"
- "group_interval": "30s"
"match":
"alerttype": "event"
"receiver": "event"
- "group_interval": "30s"
"match":
"alerttype": "auditing"
"receiver": "auditing"
type: Opaque

0 comments on commit a89a3bb

Please sign in to comment.