IPsec tunnel status by snmp



Do somebody know how I can check status of my IPsec tunnel in VyOS by snmpwalk? Tried to search in internet but haven’t found anything that could work.

Thanks you!


you could use the presence or absence of a KERNEL route to determine if the IPSEC tunnel is up. you can find routing destinations via .


It weird because routing table doesn’t change even if I disconnect the IPSEC tunnel, so that IT doesn’t change the OID neither