summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-24 19:42:33 +0200
committerChristian Poessinger <christian@poessinger.com>2022-08-24 19:56:23 +0200
commit254285bb5d701e950c1243dd2f4f592146ede2aa (patch)
treeeda592a41fe625ba58b0d47e7ad1b38ee418fb2b /op-mode-definitions
parentf5360b98703e0a954066c099b48119daecd1c12b (diff)
downloadvyos-1x-254285bb5d701e950c1243dd2f4f592146ede2aa.tar.gz
vyos-1x-254285bb5d701e950c1243dd2f4f592146ede2aa.zip
op-mode: extend "monitor log vpn" option
support monitoring * all * l2tp * sstp * pptp
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/monitor-log.xml.in24
1 files changed, 24 insertions, 0 deletions
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 @@
<help>Show log for Virtual Private Network (VPN)</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>
+ </leafNode>
<leafNode name="ipsec">
<properties>
<help>Monitor last lines of IPSec</help>
</properties>
<command>journalctl --no-hostname --boot --follow --unit strongswan-starter.service</command>
</leafNode>
+ <leafNode name="l2tp">
+ <properties>
+ <help>Monitor last lines of L2TP</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --follow --unit accel-ppp@l2tp.service</command>
+ </leafNode>
+ <leafNode name="pptp">
+ <properties>
+ <help>Monitor last lines of PPTP</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --follow --unit accel-ppp@pptp.service</command>
+ </leafNode>
+ <leafNode name="sstp">
+ <properties>
+ <help>Monitor last lines of SSTP</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --follow --unit accel-ppp@sstp.service</command>
+ </leafNode>
</children>
</node>
</children>