diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-29 08:08:56 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-10-29 08:10:47 +0100 |
commit | 57000d752c610984c2074ad8cd2fa2d346794ba9 (patch) | |
tree | 6069e6cd61482e3873e641b586a377c8a7b3ad70 | |
parent | b34b1992a65e519af0aed5ad43b1d60e6d1f7af5 (diff) | |
download | vyos-1x-57000d752c610984c2074ad8cd2fa2d346794ba9.tar.gz vyos-1x-57000d752c610984c2074ad8cd2fa2d346794ba9.zip |
op-mode: T5661: add "monitor ssh dynamic-protection" command to follow the logfile
(cherry picked from commit 78e00bf4099bfac2164ef2075acce8169c40c9c3)
-rw-r--r-- | op-mode-definitions/monitor-log.xml.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/op-mode-definitions/monitor-log.xml.in b/op-mode-definitions/monitor-log.xml.in index 52b5b85d4..ee066b39b 100644 --- a/op-mode-definitions/monitor-log.xml.in +++ b/op-mode-definitions/monitor-log.xml.in @@ -274,12 +274,20 @@ </properties> <command>journalctl --no-hostname --boot --follow --unit snmpd.service</command> </leafNode> - <leafNode name="ssh"> + <node name="ssh"> <properties> <help>Monitor last lines of Secure Shell log</help> </properties> <command>journalctl --no-hostname --boot --follow --unit ssh.service</command> - </leafNode> + <children> + <node name="dynamic-protection"> + <properties> + <help>Monitor last lines of SSH guard log</help> + </properties> + <command>journalctl --no-hostname --boot --follow --unit sshguard.service</command> + </node> + </children> + </node> <leafNode name="vpn"> <properties> <help>Monitor last lines of ALL Virtual Private Network services</help> |