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:08:56 +0100 |
commit | 78e00bf4099bfac2164ef2075acce8169c40c9c3 (patch) | |
tree | 550b6a6771f3a8965263d1b7aefcd8cebcbbc45b /op-mode-definitions/monitor-log.xml.in | |
parent | 428dee29d36cc3629990ec41afef887821886834 (diff) | |
download | vyos-1x-78e00bf4099bfac2164ef2075acce8169c40c9c3.tar.gz vyos-1x-78e00bf4099bfac2164ef2075acce8169c40c9c3.zip |
op-mode: T5661: add "monitor ssh dynamic-protection" command to follow the logfile
Diffstat (limited to 'op-mode-definitions/monitor-log.xml.in')
-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> |