Custom alert template

Hi all,
I’d like to know if exists a way to customize the alert templates. For example, I’d like to add the access point which has gone down, but I don’t know how to call it using template syntax. I tried, failing, with %access_points and %access_points.name.

Thanks!

Howdy,

The majority of info you need should be here: https://docs.librenms.org/#Alerting/Templates/

I’d assume you can add something like: %hostname into your template to get the access point “Name”. The above link has numerous listing you can apply to templates to pull different info out of.

It would also be helpful if you were to include the current alert/template you’re using, so we can actually see what it is doing. I’d suggest looking over the template doc on how it works.

-J

1 Like