I did not use any template now. I tried to use the one from doc. But it will not send any message when I use it. I did not setup any template, Just using the default format.
Ah, you are using DingDing. I have not messed with that contact point type yet. I am not sure that it supports templates. It does not mention templates.
You could try putting a template call in the “Message” field. Something like: {{ template "<name.of.template.here>" }}.
For example, the default template can be called like this: {{ template "default.message" }}.
You said that you have not setup any templates, so the only template defined in your system will be the default one.
Can we have some better-looking templates with specific details about how to configure them? I have tried several times… And always failed to set up.
Do you mean, a different template for each alert that triggers a notification? Or do you mean a customized notification for each different alert that you have created?
Having a chart in the notifications could be nice.
Just send a separate notification for each alert rather than have one notification with 5 issues in it. If I have 5 alerts fired up, Then I should get 5 messages. Then can share one template.
For 2,3,4 is there any article, tutorial to make it happen or we need to wait for new updates?
Oh gosh, why the heck this is not mentioned anywhere in the docs, how to assign a damn template to a damn alert/contact point… You separately create alerts, separately create templates and contact points, and it is not mentioned anywhere how to tie one to another. As alerts are connected to contact points via “Notification Policies”, I thought it should also be there, how wrong I was…
Did you ever find where you could select which alert is used? I cannot find it in the alert rules, nor in the contact points or the notification policies.