aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/notification.d/script.js
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-09-29 14:08:27 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-09-29 14:15:41 +0200
commiteef0662aa7c6213855044ae9bdc84e8326512913 (patch)
treec0cbf458770aad3255b696094f32a98fb1503432 /contrib/notification.d/script.js
parent4c6c30550fe509267b599bc46a020d1639089744 (diff)
netwatch-notify: allow to give different origin for hosts...
... to use differing notification settings. Add an origin name in netwatch configuration: /tool/netwatch/add comment="notify, name=dns-google, origin=netwatch-notify-google" address=8.8.8.8; /tool/netwatch/add comment="notify, name=dns-cloudflare, origin=netwatch-notify-cloudflare" address=1.1.1.1; Then configure the notification settings in `global-config-overlay`: :global EmailGeneralToOverride { "netwatch-notify-google"="google@example.com"; "netwatch-notify-cloudflare"="cloudflare@example.com"; } I think it is best to handle this as a hidden setting... Handle with care!
Diffstat (limited to 'contrib/notification.d/script.js')
0 files changed, 0 insertions, 0 deletions