Skip to content

Commit

Permalink
Merge pull request #909 from benjaminhuo/master
Browse files Browse the repository at this point in the history
Add alertmanager webhook receivers for notification manager
  • Loading branch information
pixiake authored Jul 22, 2020
2 parents 6e050c6 + a89a3bb commit 9ea76c9
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 9ea76c9

Please sign in to comment.