From 3447356cc8ef4a2e61b8a5737eefb518895181d5 Mon Sep 17 00:00:00 2001 From: Riccardo Bicelli Date: Tue, 7 Jan 2020 09:13:15 +0100 Subject: [PATCH] Fixed OpenVPN ping-restart status --- template_pfsense_active.xml | 50 +++++++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 5 deletions(-) diff --git a/template_pfsense_active.xml b/template_pfsense_active.xml index b3deb88..835eb23 100644 --- a/template_pfsense_active.xml +++ b/template_pfsense_active.xml @@ -1,7 +1,7 @@ 4.0 - 2019-12-14T08:17:57Z + 2020-01-07T08:11:29Z Templates @@ -3627,7 +3627,7 @@ 0 199C0D 0 - 2 + 7 0 Template pfSense Active @@ -3639,7 +3639,7 @@ 0 FF5722 0 - 2 + 7 0 Template pfSense Active @@ -3648,6 +3648,38 @@ + + Gateway {#GATEWAY} Status + 640 + 480 + 0.0000 + 5.0000 + 1 + 1 + 0 + 1 + 0 + 0.0000 + 0.0000 + 1 + 1 + 0 + 0 + + + 0 + 0 + 199C0D + 0 + 7 + 0 + + Template pfSense Active + pfsense.value[gw_value,{#GATEWAY},status] + + + + @@ -3744,11 +3776,11 @@ 5 (.*) -\1:up=1:down=0:none=0 +\1:up=1:down=0:none=0:reconnecting; ping-restart=2 5 - (up|down|none)(?=.*:\1=(\d)) + (up|down|none|reconnecting; ping-restart)(?=.*:\1=(\d)) \2 @@ -5859,6 +5891,14 @@ or 1 Up + + 2 + None + + + 3 + Reconnecting +