From c0b954abbb67ef4b1d66cce47984b7bdfda8b2c7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 21 Jun 2021 09:15:05 +0200 Subject: doc/netwatch-notify: hint on checking internet connectivity --- doc/netwatch-notify.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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) -- cgit v1.2.3-54-g00ecf