Description | This article describes how to monitor the status of the phase 1 tunnel of the IPsec. |
Scope | FortiGate. |
Solution | It is possible to only monitor the status of the individual phase 2 tunnels. There is no option to only monitor the status of the Phase 1 tunnel using SNMP. As per the current design, the Kernel no longer sends any carrier on/off netlink events for ipsec interfaces when an SA is added or the last SA is removed; instead the carrier state stays on. If SNMP is monitoring this carrier flag and reporting it through ifOperStatus, that would explain the current behavior. So it is not a reliable indicator of tunnel state; it is better to monitor tunnel state using the VPN-specific OIDs for tunnel status and SA counts. Refer to the article to monitor the IPSEC tunnel (Phase 2) status via the SNMP by using the combination of Phase1 and Phase2 serial indicators: Technical Tip: How to monitor the individual VPN tunnel by SNMP (OID) |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.