mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 13:16:17 +00:00
save
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
apiVersion: 1
|
||||
|
||||
contactPoints:
|
||||
- orgId: 1
|
||||
name: grafana-default-email
|
||||
receivers:
|
||||
- uid: default-email
|
||||
type: email
|
||||
settings:
|
||||
addresses: admin@localhost
|
||||
subject: "Grafana Alert: {{ .GroupLabels.alertname }}"
|
||||
body: |
|
||||
Alert: {{ .GroupLabels.alertname }}
|
||||
Status: {{ .Status }}
|
||||
|
||||
{{ range .Alerts }}
|
||||
Summary: {{ .Annotations.summary }}
|
||||
Description: {{ .Annotations.description }}
|
||||
Labels: {{ range .Labels.SortedPairs }}{{ .Name }}={{ .Value }} {{ end }}
|
||||
{{ end }}
|
||||
disableResolveMessage: false
|
||||
|
||||
- orgId: 1
|
||||
name: webhook-placeholder
|
||||
receivers:
|
||||
- uid: webhook-placeholder
|
||||
type: webhook
|
||||
settings:
|
||||
url: http://localhost:8080/webhook
|
||||
username: ""
|
||||
password: ""
|
||||
title: "Grafana Alert"
|
||||
httpMethod: POST
|
||||
disableResolveMessage: false
|
||||
Reference in New Issue
Block a user