VPN tunnel states:
The SNMP Response should return an integer, whose value has the following meanings:
• 3 = VPN tunnel is active
• 4 = VPN tunnel is destroyed
• 129 = VPN tunnel is idle
• 130 = VPN tunnel is during Phase1
• 131 = VPN tunnel is down
• 132 = VPN tunnel is initializing
So we want to know if the returned value is NOT 3 (up) or 129 (connecting) for 2 consecutive polls.