From 254285bb5d701e950c1243dd2f4f592146ede2aa Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 24 Aug 2022 19:42:33 +0200 Subject: op-mode: extend "monitor log vpn" option support monitoring * all * l2tp * sstp * pptp --- op-mode-definitions/monitor-log.xml.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 774acaa5c..975d20465 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -229,12 +229,36 @@ Show log for Virtual Private Network (VPN) + + + Monitor last lines of ALL VPNs + + journalctl --no-hostname --boot --follow --unit strongswan-starter.service --unit accel-ppp@*.service + Monitor last lines of IPSec journalctl --no-hostname --boot --follow --unit strongswan-starter.service + + + Monitor last lines of L2TP + + journalctl --no-hostname --boot --follow --unit accel-ppp@l2tp.service + + + + Monitor last lines of PPTP + + journalctl --no-hostname --boot --follow --unit accel-ppp@pptp.service + + + + Monitor last lines of SSTP + + journalctl --no-hostname --boot --follow --unit accel-ppp@sstp.service + -- cgit v1.2.3