mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 18:36:59 +08:00
renaming sms to pager
This commit is contained in:
parent
648b83250a
commit
773b3456d2
1 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ route:
|
||||||
severity: error|warning
|
severity: error|warning
|
||||||
continue: true
|
continue: true
|
||||||
|
|
||||||
- receiver: "sms"
|
- receiver: "pager"
|
||||||
group_wait: 10s
|
group_wait: 10s
|
||||||
match_re:
|
match_re:
|
||||||
severity: error
|
severity: error
|
||||||
|
|
@ -85,7 +85,7 @@ receivers:
|
||||||
channel: 'monitoring'
|
channel: 'monitoring'
|
||||||
text: "{{ range .Alerts }}<!channel> {{ .Annotations.summary }}\n{{ .Annotations.description }}\n{{ end }}"
|
text: "{{ range .Alerts }}<!channel> {{ .Annotations.summary }}\n{{ .Annotations.description }}\n{{ end }}"
|
||||||
|
|
||||||
- name: "sms"
|
- name: "pager"
|
||||||
webhook_config:
|
webhook_config:
|
||||||
- url: http://a.b.c.d:8080/send/sms
|
- url: http://a.b.c.d:8080/send/sms
|
||||||
send_resolved: true
|
send_resolved: true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue