diff options
Diffstat (limited to 'doc/netwatch-notify.md')
-rw-r--r-- | doc/netwatch-notify.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md index 627070a..ff1eae9 100644 --- a/doc/netwatch-notify.md +++ b/doc/netwatch-notify.md @@ -52,8 +52,29 @@ suppress notification if the parent host is down: Note that every configured parent in a chain increases the check count threshould by one. +The host address can be updated dynamically. Give extra parameter `resolve` +with a resolvable name: + + / tool netwatch add comment="notify, hostname=example.com, resolve=example.com"; + +But be warned: Dynamic updates will probably cause issues if the name has +more than one record in dns - a high rate of configuration changes (and flash +writes) at least. + 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) |