Hi Volker, That's not possible unfortunately. The external file can be small and specific, but it has to be a valid Go template that can be loaded (example in https://prometheus.io/blog/2016/03/03/custom-alertmanager-templates/#template-files), not just a number or something like that.
Cheers, Julius On Tue, Mar 29, 2022 at 1:35 PM Volker Dormeyer <[email protected]> wrote: > Hi all, > > is it possible to load some value out of a plain file into an > alertmanager template, so that the value is assigned to a variable? > > Best Regards, > Volker > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/58250a94-8dee-6498-7c54-d4320baf9324%40ixolution.de > . > -- Julius Volz PromLabs - promlabs.com -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAObpH5yLMrV2M33vHXPi3XuQsaLdZpERz7Wm52XPdy-HaFWO9A%40mail.gmail.com.

