From a383ba561b5709fb0686576a6946218eccf9f4f1 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 23 Jan 2023 06:33:53 +0100 Subject: op-mode: add "show|monitor log pppoe-server" command (cherry picked from commit 1bd69a81dc32fdaa62be27e4f5ae3cfe333f2a26) --- op-mode-definitions/monitor-log.xml.in | 23 +++++++++++++++++++++++ op-mode-definitions/show-log.xml.in | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) 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 @@ + + + Monitor last lines of PPPoE interface log + + journalctl --no-hostname --boot --follow --unit "ppp@pppoe*.service" + + + + Monitor last lines of PPPoE log for specific interface + + interfaces pppoe + + + journalctl --no-hostname --boot --follow --unit "ppp@$5.service" + + + + + + Monitor last lines of PPPoE server log + + journalctl --no-hostname --boot --follow --unit accel-ppp@pppoe.service + Show log for Simple Network Monitoring Protocol (SNMP) diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in index ec3d8cbbf..9a8145f10 100644 --- a/op-mode-definitions/show-log.xml.in +++ b/op-mode-definitions/show-log.xml.in @@ -218,6 +218,29 @@ + + + Show log for PPPoE interface + + journalctl --no-hostname --boot --unit "ppp@pppoe*.service" + + + + Show PPPoE log on specific interface + + interfaces pppoe + + + journalctl --no-hostname --boot --unit "ppp@$5.service" + + + + + + Show log for PPPoE server + + journalctl --no-hostname --boot --unit accel-ppp@pppoe.service + Show log for Simple Network Monitoring Protocol (SNMP) -- cgit v1.2.3