Alert template for ipsec tunnels, remote peer

I’m loving this NMS. Coming from OpenNMS, what a pain that platform is. I need some help creating an alert template that will give me the ip or name of remote peer of the tunnel that triggers the ipsec down tunnel alert rule.

Any help is appreciated.

If that info is in the database, you can put it in the template.

How do I query the events/alerts db to see the available information?

In the template {{ var_export($alert, 1) }}

Thank you. That provided a lot of information.