summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-log.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-17 15:22:30 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-17 15:23:12 +0100
commit324b74f7420bed3e9f7b5aee4a7caf926fd8eb91 (patch)
tree813b76a5f4a35de579ef58353986b9ed429c01a5 /op-mode-definitions/monitor-log.xml.in
parent5cd2cd89b295c728f21c418c3fa081560a00eefc (diff)
downloadvyos-1x-324b74f7420bed3e9f7b5aee4a7caf926fd8eb91.tar.gz
vyos-1x-324b74f7420bed3e9f7b5aee4a7caf926fd8eb91.zip
op-mode: T4861: add "(show|monitor) log vpn openconnect" commands
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r--op-mode-definitions/monitor-log.xml.in10
1 files changed, 8 insertions, 2 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 @@
</node>
<node name="vpn">
<properties>
- <help>Show log for Virtual Private Network (VPN)</help>
+ <help>Monitor Virtual Private Network (VPN) services</help>
</properties>
<children>
<leafNode name="all">
<properties>
<help>Monitor last lines of ALL VPNs</help>
</properties>
- <command>journalctl --no-hostname --boot --follow --unit strongswan-starter.service --unit accel-ppp@*.service</command>
+ <command>journalctl --no-hostname --boot --follow --unit strongswan-starter.service --unit accel-ppp@*.service --unit ocserv.service</command>
</leafNode>
<leafNode name="ipsec">
<properties>
@@ -276,6 +276,12 @@
</properties>
<command>journalctl --no-hostname --boot --follow --unit accel-ppp@l2tp.service</command>
</leafNode>
+ <leafNode name="openconnect">
+ <properties>
+ <help>Monitor last lines of OpenConnect</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --follow --unit ocserv.service</command>
+ </leafNode>
<leafNode name="pptp">
<properties>
<help>Monitor last lines of PPTP</help>