diff options
author | Christian Hesse <mail@eworm.de> | 2022-05-11 10:24:59 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-05-12 11:04:00 +0200 |
commit | 6f76a41962ccf7ad756e99c8155418d281ef5452 (patch) | |
tree | 75f21e875167a11c3dacd976489454ea426a47d3 /doc | |
parent | 7561c719d1ca8747c9fddf10d3f4dd473528848b (diff) |
doc/netwatch-syslog: RouterOS v7 path syntax
Diffstat (limited to 'doc')
-rw-r--r-- | doc/netwatch-syslog.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/netwatch-syslog.md b/doc/netwatch-syslog.md index 9a28bb9..760d98f 100644 --- a/doc/netwatch-syslog.md +++ b/doc/netwatch-syslog.md @@ -16,8 +16,8 @@ Requirements and installation Let's assume there is a remote log action and associated logging rule: - / system logging action set remote=10.0.0.1 [ find where name="remote" ]; - / system logging add action=remote topics=info; + /system/logging/action/set remote=10.0.0.1 [ find where name="remote" ]; + /system/logging/add action=remote topics=info; Just install the script: @@ -25,7 +25,7 @@ Just install the script: ... and create a netwatch matching the IP address from logging action above: - / tool netwatch add down-script=netwatch-syslog host=10.0.0.1 up-script=netwatch-syslog; + /tool/netwatch/add down-script=netwatch-syslog host=10.0.0.1 up-script=netwatch-syslog; All logging rules are disabled when host is down. |