aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-06-21 09:15:05 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-06-21 09:15:05 +0200
commitc0b954abbb67ef4b1d66cce47984b7bdfda8b2c7 (patch)
tree8ddee78c0e78e01cdd6ccd4feb89d1adb8d40c47 /doc
parentbad6f5a7cc1cf1fe442f66ff1399591236af8efc (diff)
doc/netwatch-notify: hint on checking internet connectivity
Diffstat (limited to 'doc')
-rw-r--r--doc/netwatch-notify.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 52e4792..7f61d88 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -80,6 +80,20 @@ make `netwatch-notify` check for that by adding several items with same
/ 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;
+### Checking internet connectivity
+
+Sometimes you can not check your gateway for internet connectivity, for
+example when it does not respond to pings or has a dynamic address. You could
+check `1.1.1.1` (Cloudflare DNS), `9.9.9.9` (Quad-nine DNS), `8.8.8.8`
+(Google DNS) or any other reliable address that indicates internet
+connectivity.
+
+ / tool netwatch add comment="notify, hostname=internet" host=1.1.1.1;
+
+A target like this suits well to be parent for other checks.
+
+ / tool netwatch add comment="notify, hostname=example.com, parent=internet" host=93.184.216.34;
+
---
[◀ Go back to main README](../README.md)
[▲ Go back to top](#top)