diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-23 06:33:53 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-23 07:44:05 +0100 |
commit | a383ba561b5709fb0686576a6946218eccf9f4f1 (patch) | |
tree | 71b1323365e0717764144ba876c5fcd6259dba51 /op-mode-definitions/monitor-log.xml.in | |
parent | 17f6027f318b3edb0087ecfa15755bc474ea8319 (diff) | |
download | vyos-1x-a383ba561b5709fb0686576a6946218eccf9f4f1.tar.gz vyos-1x-a383ba561b5709fb0686576a6946218eccf9f4f1.zip |
op-mode: add "show|monitor log pppoe-server" command
(cherry picked from commit 1bd69a81dc32fdaa62be27e4f5ae3cfe333f2a26)
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index e06516ee7..7af9f9431 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -109,6 +109,29 @@ </tagNode> </children> </node> + <node name="pppoe"> + <properties> + <help>Monitor last lines of PPPoE interface log</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit "ppp@pppoe*.service"</command> + <children> + <tagNode name="interface"> + <properties> + <help>Monitor last lines of PPPoE log for specific interface</help> + <completionHelp> + <path>interfaces pppoe</path> + </completionHelp> + </properties> + <command>journalctl --no-hostname --boot --follow --unit "ppp@$5.service"</command> + </tagNode> + </children> + </node> + <leafNode name="pppoe-server"> + <properties> + <help>Monitor last lines of PPPoE server log</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit accel-ppp@pppoe.service</command> + </leafNode> <leafNode name="snmp"> <properties> <help>Show log for Simple Network Monitoring Protocol (SNMP)</help> |