Hi team,
is it possible to configure a global contact point, which is a webhook in our case, for all alert rules? So we can send all alerts to the webhook for auditing.
I’ve tried to modify the notification policy, but it didn’t work. There is a Auto-generate policies
delivered to autogen-contact-point-default
in the policy root.
Would it be easier to have the webhook on the alertmanager rather than IRM ?
Hi , thanks for reply.
Not sure what the IRM is ? We’re using open source Grafana (version: 11.1.0) and its internal alert manager.
Do you want to send to this auditing webhook and keep sending it to something else after ? Or just the webhook and done ?
For now just the auditing webhook
So what’s the problem with your current setting ?
• I added a webhook integration to the built-in autogen-contact-point-default
contact point (img 1)
• For alert rule using notification policy, it is not sent to the webhook unless no other matching policies are found (img 3&4)
• For alert rule with other contact point notification, it is not sent to the webhook (img 5)
First of all, if your alert is set to send to a specific contact point, it is only sent to this contact point. It’s the feature
For the rest, you need to have a “catch-all” policy. I never used the UI for it but I guess it exists in the UI too: continue = true
in your first route.
Your first route should match anything with a “continue = true”. All alerts would be sent to the webhook and then any other matching route