aboutsummaryrefslogtreecommitdiffstats
path: root/doc/netwatch-notify.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-07-09 11:27:26 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-07-09 12:46:03 +0200
commitbccb7c3452466aea0f8c1790643b3aeb21e9b1af (patch)
treec69fbd44982b001c1df277f2a4e2ebb84a8741d2 /doc/netwatch-notify.md
parent12d34e4a7c40203aadfb536077c3c2b2cd1492d5 (diff)
netwatch-notify: implement pre-down hookchange-60
Diffstat (limited to 'doc/netwatch-notify.md')
-rw-r--r--doc/netwatch-notify.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 199f050..14efe0b 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -44,6 +44,10 @@ comment:
/ tool netwatch add comment="notify, hostname=poe-device, down-hook=/ interface ethernet poe power-cycle en21;" host=10.0.0.20;
+Also there is a `pre-down-hook` that fires at two thirds of failed checks
+required for the notification. The idea is to fix the issue before a
+notification is sent.
+
The count threshould (default is 5 checks) is configurable as well:
/ tool netwatch add comment="notify, hostname=example.com, count=10" host=104.18.144.11;