summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-03 17:16:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-03 17:16:24 +0200
commite9eeaeb0e974e90168b0ce87b4f5553132af01a2 (patch)
tree7fd5bf93050daff817dc940f10a06d5aced61c8c /op-mode-definitions
parent43a7f4e8032e5285f3dd99785f1b41e3c2dd1ad0 (diff)
downloadvyos-1x-e9eeaeb0e974e90168b0ce87b4f5553132af01a2.tar.gz
vyos-1x-e9eeaeb0e974e90168b0ce87b4f5553132af01a2.zip
op-mode: T2546: add "monitor log" command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/monitor-log.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml b/op-mode-definitions/monitor-log.xml
new file mode 100644
index 000000000..99efe5306
--- /dev/null
+++ b/op-mode-definitions/monitor-log.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="monitor">
+ <children>
+ <node name="log">
+ <properties>
+ <help>Monitor last lines of messages file</help>
+ </properties>
+ <command>tail --follow=name /var/log/messages</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>