diff options
author | Christian Hesse <mail@eworm.de> | 2021-05-06 15:42:54 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-05-06 15:42:54 +0200 |
commit | 254126430e561dd01c76607f2a46949a85ae8964 (patch) | |
tree | c6707700b1d4fb5ce33974ce088c0fd0140f68ef /doc/netwatch-notify.md | |
parent | 64ff7fcf65ade97535afaa84531697f997239b30 (diff) | |
parent | 96621e01cb6e0331fc9e2e4b90610fb7c210aab7 (diff) |
Merge branch 'netwatch-notify' into next
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) |