aboutsummaryrefslogtreecommitdiffstats
path: root/doc/netwatch-notify.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-10-10 22:20:31 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-10-10 22:20:31 +0200
commit82e3e7a9fce024be5b93aa6adc41d6d799c05271 (patch)
treef89e8695e3cd2e552a6453889461b4afa704bfdd /doc/netwatch-notify.md
parent85a7a16c1526acfc86ec313e8527fb616f142a57 (diff)
doc/netwatch-notify: always give a host...
... as that is a required property. Any ip address is fine, it is changed anyway.
Diffstat (limited to 'doc/netwatch-notify.md')
-rw-r--r--doc/netwatch-notify.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 948cbec..411a4d9 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -88,7 +88,7 @@ threshould by one.
The host address can be updated dynamically. Give extra parameter `resolve`
with a resolvable name:
- /tool/netwatch/add comment="notify, name=example.com, resolve=example.com";
+ /tool/netwatch/add comment="notify, name=example.com, resolve=example.com" host=0.0;
This supports multiple A or AAAA records for a name just fine, even a CNAME
to those. An update happens only if no more record with the configured host
@@ -125,7 +125,7 @@ included verbatim into the notification.
It is possible to add a link in notification, that is added below the
formatted notification text.
- /tool/netwatch/add comment="notify, name=example.com, resolve=example.com, link=https://example.com/";
+ /tool/netwatch/add comment="notify, name=example.com, resolve=example.com, link=https://example.com/" host=0.0;
Tips & Tricks
-------------