The vpn st0 interfaces are virtual ones that are up/up at all times so monitoring their status is generally not that helpful.
I assume you are looking to confirm the status of the actual vpn tunnels using the interfaces. For this purpose there are some features for monitoring the vpn status that can be configured that send test traffic and confirm vpn tunnels are up and working. When these fail they can send traps indicating the issue has occurred.
https://www.juniper.net/documentation/us/en/software/junos/vpn-ipsec/topics/topic-map/security-ipsec-vpn-session-monitoring.html------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 06-25-2022 21:25
From: DEREK HILL
Subject: VPN interface email alerts
Hi all,
Would like to setup some alerts for monitoring VPN interfaces. How would I go about doing this? SNMP or syslog perhaps?
Thanks,
Derek Hill