From 324b74f7420bed3e9f7b5aee4a7caf926fd8eb91 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 17 Jan 2023 15:22:30 +0100 Subject: op-mode: T4861: add "(show|monitor) log vpn openconnect" commands --- op-mode-definitions/monitor-log.xml.in | 10 ++++++++-- op-mode-definitions/show-log.xml.in | 8 +++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index d616bfc08..b68047bb9 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -255,14 +255,14 @@ - Show log for Virtual Private Network (VPN) + Monitor Virtual Private Network (VPN) services Monitor last lines of ALL VPNs - journalctl --no-hostname --boot --follow --unit strongswan-starter.service --unit accel-ppp@*.service + journalctl --no-hostname --boot --follow --unit strongswan-starter.service --unit accel-ppp@*.service --unit ocserv.service @@ -276,6 +276,12 @@ journalctl --no-hostname --boot --follow --unit accel-ppp@l2tp.service + + + Monitor last lines of OpenConnect + + journalctl --no-hostname --boot --follow --unit ocserv.service + Monitor last lines of PPTP diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 6608ea0d8..8114f7377 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -409,7 +409,7 @@ Show log for ALL - journalctl --no-hostname --boot --unit strongswan-starter.service --unit accel-ppp@*.service + journalctl --no-hostname --boot --unit strongswan-starter.service --unit accel-ppp@*.service --unit ocserv.service @@ -423,6 +423,12 @@ journalctl --no-hostname --boot --unit accel-ppp@l2tp.service + + + Show log for OpenConnect + + journalctl --no-hostname --boot --unit ocserv.service + Show log for PPTP -- cgit v1.2.3