diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-17 15:22:30 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-17 15:23:12 +0100 |
commit | 324b74f7420bed3e9f7b5aee4a7caf926fd8eb91 (patch) | |
tree | 813b76a5f4a35de579ef58353986b9ed429c01a5 | |
parent | 5cd2cd89b295c728f21c418c3fa081560a00eefc (diff) | |
download | vyos-1x-324b74f7420bed3e9f7b5aee4a7caf926fd8eb91.tar.gz vyos-1x-324b74f7420bed3e9f7b5aee4a7caf926fd8eb91.zip |
op-mode: T4861: add "(show|monitor) log vpn openconnect" commands
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 10 | ||||
-rw-r--r-- | 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 @@ </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> 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 @@ <properties> <help>Show log for ALL</help> </properties> - <command>journalctl --no-hostname --boot --unit strongswan-starter.service --unit accel-ppp@*.service</command> + <command>journalctl --no-hostname --boot --unit strongswan-starter.service --unit accel-ppp@*.service --unit ocserv.service</command> </leafNode> <leafNode name="ipsec"> <properties> @@ -423,6 +423,12 @@ </properties> <command>journalctl --no-hostname --boot --unit accel-ppp@l2tp.service</command> </leafNode> + <leafNode name="openconnect"> + <properties> + <help>Show log for OpenConnect</help> + </properties> + <command>journalctl --no-hostname --boot --unit ocserv.service</command> + </leafNode> <leafNode name="pptp"> <properties> <help>Show log for PPTP</help> |