AlertManager donot send alert to webhook #700
-
I try to use webhook in my env. I show some messages at runtime and at the end it shows the following message So I test the network connection using curl using in webhook I see the answer So I configure alertManager and this is my alertmanager status:
Now I fired an alert and I find it inside alertManager log but in webhook I do not receive anything can someone help me to understand why it does not work? Many thanks in advence for any suggestion Luca |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the problem.
one for each webhook destination that you need to manage I suggest to insert some alertmanager.yml example in the github in order to solve some alertmanager configuration misleading here is my correct yml lobal:
Bye |
Beta Was this translation helpful? Give feedback.
I found the problem.
When there are more webhook in the alertmanager routes you mast to use match-_re option in this way:
alertname: ".*"
receiver: 'webhook'
continue: true
one for each webhook destination that you need to manage
I suggest to insert some alertmanager.yml example in the github in order to solve some alertmanager configuration misleading
here is my correct yml
lobal:
smtp_require_tls: true
route:
receiver: 'webhook'
group_by: ['alertname']
group_wait: 30s
group_interval: 1m
repeat_interval: 1m
routes:
alertname: ".*"
receiver: 'srv_notifier'
continue: true
alertname: ".*"
receiver: 'webhook'
continue: true
receivers:
webhook_co…