diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-22 23:05:57 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-22 23:16:13 +0200 |
commit | cfe158844b951200a32f38c03259ea5ac845b5ca (patch) | |
tree | f3c6404da2527a56197c6afec074a741ff9a0a11 /op-mode-definitions/monitor-log.xml.in | |
parent | 8c7cd6f181a4bbb5aee99f50e6c32eb1f4f37c3d (diff) | |
download | vyos-1x-cfe158844b951200a32f38c03259ea5ac845b5ca.tar.gz vyos-1x-cfe158844b951200a32f38c03259ea5ac845b5ca.zip |
op-mode: add show|monitor log ssh|snmp commands
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 12 |
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 99d64acb3..b7bd1c3e0 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -195,6 +195,18 @@ </leafNode> </children> </node> + <leafNode name="snmp"> + <properties> + <help>Monitor last lines of Simple Network Monitoring Protocol (SNMP)</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit snmpd.service</command> + </leafNode> + <leafNode name="ssh"> + <properties> + <help>onitor last lines of Secure Shell (SSH)</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit ssh.service</command> + </leafNode> </children> </node> </children> |