From 41f7d1e4668a8ff1d72594e811df0b6c44d865ba Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 May 2021 08:28:58 +0200 Subject: doc/netwatch-notify: tips & tricks: one of several hosts --- doc/netwatch-notify.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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) -- cgit v1.2.3-54-g00ecf