aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-notify.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-13 08:37:11 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-13 09:02:04 +0100
commit3d4a14d44935fff6777a97afb4b598238c57b47e (patch)
tree099a4840be7ca45c59c80227dd2fdbe0dae5c56a /netwatch-notify.rsc
parentccfbabde5eed08a021b2d47f34bc4498940fda1d (diff)
netwatch-notify: pass link to notificationchange-124
This is pass verbatim below the notification text.
Diffstat (limited to 'netwatch-notify.rsc')
-rw-r--r--netwatch-notify.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwatch-notify.rsc b/netwatch-notify.rsc
index 9536dd7..adcfc37 100644
--- a/netwatch-notify.rsc
+++ b/netwatch-notify.rsc
@@ -144,7 +144,7 @@
}
$SendNotification2 ({ origin=[ $EitherOr ($HostInfo->"origin") $ScriptName ]; silent=($HostInfo->"silent"); \
subject=([ $SymbolForNotification "white-heavy-check-mark" ] . "Netwatch Notify: " . $Name . " up"); \
- message=$Message });
+ message=$Message; link=($HostInfo->"link") });
}
:set ($Metric->"notified") false;
:set ($Metric->"parent") ($HostInfo->"parent");
@@ -199,7 +199,7 @@
:if ($HostInfo->"no-down-notification" != true) do={
$SendNotification2 ({ origin=[ $EitherOr ($HostInfo->"origin") $ScriptName ]; silent=($HostInfo->"silent"); \
subject=([ $SymbolForNotification "cross-mark" ] . "Netwatch Notify: " . $Name . " down"); \
- message=$Message });
+ message=$Message; link=($HostInfo->"link") });
}
:set ($Metric->"notified") true;
}