aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-05-05 08:28:58 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-05-05 08:31:14 +0200
commit41f7d1e4668a8ff1d72594e811df0b6c44d865ba (patch)
tree18f48480d315dd358648e19f3eab5a61dddb52ff
parent64ff7fcf65ade97535afaa84531697f997239b30 (diff)
doc/netwatch-notify: tips & tricks: one of several hosts
-rw-r--r--doc/netwatch-notify.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 627070a..a3d8ccd 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -54,6 +54,18 @@ threshould by one.
Also notification settings are required for e-mail and telegram.
+Tips & Tricks
+-------------
+
+### One of several hosts
+
+Sometimes it is sufficient if one of a number of hosts is available. You can
+make `netwatch-notify` check for that by adding several items with same
+`hostname`. Note that `count` has to be multiplied to keep the actual time.
+
+ / tool netwatch add comment="notify, hostname=service, count=10" host=10.0.0.10;
+ / tool netwatch add comment="notify, hostname=service, count=10" host=10.0.0.20;
+
---
[◀ Go back to main README](../README.md)
[▲ Go back to top](#top)