From 2015717bdc879e2a598984f60835d8e5710d721e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 27 Jul 2023 21:58:39 +0200 Subject: T5411: add additional monitor log targets --- op-mode-definitions/show-log.xml.in | 102 +++++++++++++++++------------------- 1 file changed, 49 insertions(+), 53 deletions(-) (limited to 'op-mode-definitions/show-log.xml.in') diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index 579e348f7..925a780ac 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -1,6 +1,9 @@ + + Show system information + @@ -395,23 +398,6 @@ journalctl --no-hostname --boot --unit ssh.service - - - Show log for SSTP client - - journalctl --no-hostname --boot --unit "ppp@sstpc*.service" - - - - Show SSTP client log on specific interface - - interfaces sstpc - - - journalctl --no-hostname --boot --unit "ppp@$5.service" - - - Show last n changes to messages @@ -427,47 +413,57 @@ tail -n 10 /var/log/messages - + + + Monitor last lines of ALL Virtual Private Network services + + journalctl --no-hostname --boot --unit strongswan.service --unit accel-ppp@*.service --unit ocserv.service + + + + Show log for IPsec + + journalctl --no-hostname --boot --unit strongswan.service + + + + Show log for L2TP + + journalctl --no-hostname --boot --unit accel-ppp@l2tp.service + + + + Show log for OpenConnect + + journalctl --no-hostname --boot --unit ocserv.service + + + + Show log for PPTP + + journalctl --no-hostname --boot --unit accel-ppp@pptp.service + + + + Show log for Secure Socket Tunneling Protocol (SSTP) server + + journalctl --no-hostname --boot --unit accel-ppp@sstp.service + + - Show log for Virtual Private Network (VPN) + Show log for Secure Socket Tunneling Protocol (SSTP) client + journalctl --no-hostname --boot --unit "ppp@sstpc*.service" - - - Show log for ALL - - journalctl --no-hostname --boot --unit strongswan.service --unit accel-ppp@*.service --unit ocserv.service - - - - Show log for IPsec - - journalctl --no-hostname --boot --unit strongswan.service - - - - Show log for L2TP - - journalctl --no-hostname --boot --unit accel-ppp@l2tp.service - - - - Show log for OpenConnect - - journalctl --no-hostname --boot --unit ocserv.service - - - - Show log for PPTP - - journalctl --no-hostname --boot --unit accel-ppp@pptp.service - - + - Show log for SSTP + Show SSTP client log on specific interface + + interfaces sstpc + - journalctl --no-hostname --boot --unit accel-ppp@sstp.service - + journalctl --no-hostname --boot --unit "ppp@$5.service" + -- cgit v1.2.3