make default message type CRITICAL
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4578af78e4
commit
d57bfd18f0
|
@ -44,7 +44,7 @@ alertmanager_repeat_interval: '1h'
|
|||
alertmanager_victorops_api_key: ~
|
||||
alertmanager_victorops_service_url: ~
|
||||
alertmanager_victorops_routing_key: ~
|
||||
alertmanager_victorops_message_type: 'ERROR'
|
||||
alertmanager_victorops_message_type: 'CRITICAL' # CRITICAL, WARNING, INFO
|
||||
alertmanager_victorops_state_message: '{% raw %}Alert: {{ .CommonLabels.alertname }}. Summary:{{ .CommonAnnotations.summary }}. RawData: {{ .CommonLabels }}{% endraw %}'
|
||||
|
||||
# For discovery of prometheus master nodes
|
||||
|
|
|
@ -11,9 +11,9 @@ global:
|
|||
victorops_api_url: '{{ alertmanager_victorops_service_url | mandatory }}'
|
||||
|
||||
route:
|
||||
# Default destination fo all alerts
|
||||
# Default destination fo all alerts not matching any routes.
|
||||
receiver: 'admin-email'
|
||||
# How to group together alerts
|
||||
# How to group together alerts.
|
||||
group_by: {{ alertmanager_group_by | to_yaml }}
|
||||
# Wait this much before initial notification to group them.
|
||||
group_wait: '{{ alertmanager_group_wait | mandatory }}'
|
||||
|
@ -23,7 +23,7 @@ route:
|
|||
repeat_interval: '{{ alertmanager_repeat_interval | mandatory }}'
|
||||
|
||||
routes:
|
||||
# send all notifications to slack too
|
||||
# send all notifications to VictorOps.
|
||||
- receiver: 'victorops-alerts'
|
||||
|
||||
receivers:
|
||||
|
|
Loading…
Reference in New Issue