aboutsummaryrefslogtreecommitdiffstats
path: root/doc/netwatch-syslog.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:12 +0200
commit12655bd58afc3a75fe3e2958bbe130b96f8b9be7 (patch)
treed5b33fb62e10637d70d8d0616437294ceb15ed9f /doc/netwatch-syslog.md
parent48f0a2d21118a7bff7d598e84d9f606fb30bf07a (diff)
parent09d926ed2fefb570d9810970306037910d6926d9 (diff)
Merge branch 'doc' into ros-v7-path-syntax
Diffstat (limited to 'doc/netwatch-syslog.md')
-rw-r--r--doc/netwatch-syslog.md6
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.