aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-11-17 21:08:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-11-17 21:08:37 +0100
commite1d9b08b9af23a20b612e92b150aded8ee1b1b68 (patch)
treecb55feb3027247be3b4f08f75fd0847bf13feec8
parentcf5220278de066e0721cb85ebffb5aebbc3cfa86 (diff)
doc/netwatch-notify: remove timeout from examples
-rw-r--r--doc/netwatch-notify.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 3fe1bca..557ae88 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -27,17 +27,17 @@ Configuration
The hosts to be checked have to be added to netwatch with specific comment:
- / tool netwatch add comment="notify, hostname=example.com" host=[ :resolve "example.com" ] timeout=5s;
+ / tool netwatch add comment="notify, hostname=example.com" host=[ :resolve "example.com" ];
It is possible to run an up hook command (`up-hook`) or down hook command
(`down-hook`) when a notification is triggered. This has to be added in
comment:
- / tool netwatch add comment="notify, hostname=poe-device, down-hook=/ interface ethernet poe power-cycle en21;" host=10.0.0.20 timeout=5s;
+ / tool netwatch add comment="notify, hostname=poe-device, down-hook=/ interface ethernet poe power-cycle en21;" host=10.0.0.20;
The count threshould (default is 5 checks) is configurable as well:
- / tool netwatch add comment="notify, hostname=example.com, count=10" host=104.18.144.11 timeout=5s;
+ / tool netwatch add comment="notify, hostname=example.com, count=10" host=104.18.144.11;
Also notification settings are required for e-mail and telegram.