summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-log.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-08 20:12:43 +0200
committerChristian Breunig <christian@breunig.cc>2023-07-08 20:12:43 +0200
commitee3fb84d5a81fa289ba0192b0f5266c5878d8451 (patch)
treee3039dc756e27bdf0b624f59488ce8132371c9d9 /op-mode-definitions/monitor-log.xml.in
parent3a4bac8498df8e255cc72269d29dc66fea1274f2 (diff)
downloadvyos-1x-ee3fb84d5a81fa289ba0192b0f5266c5878d8451.tar.gz
vyos-1x-ee3fb84d5a81fa289ba0192b0f5266c5878d8451.zip
op-mode: T2546: add "monitor vrrp" and "monitor webproxy" commands
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r--op-mode-definitions/monitor-log.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in
index 0fa68b7c4..a3befce26 100644
--- a/op-mode-definitions/monitor-log.xml.in
+++ b/op-mode-definitions/monitor-log.xml.in
@@ -314,6 +314,18 @@
</properties>
<command>journalctl --no-hostname --boot --unit vpp.service</command>
</leafNode>
+ <leafNode name="vrrp">
+ <properties>
+ <help>Monitor last lines of Virtual Router Redundancy Protocol (VRRP) log</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit keepalived.service</command>
+ </leafNode>
+ <leafNode name="webproxy">
+ <properties>
+ <help>Monitor last lines of Webproxy log</help>
+ </properties>
+ <command>journalctl --no-hostname --boot --unit squid.service</command>
+ </leafNode>
</children>
</node>
</children>