From 52737a1299f412484833eebad9a3c9cc907e8fa6 Mon Sep 17 00:00:00 2001 From: Epifeny Date: Mon, 19 Jan 2026 09:22:03 +0200 Subject: [PATCH] feat(ntfy): Add monitor metadata to notification messages for automation (#6762) Co-authored-by: epifeny --- server/notification-providers/ntfy.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/notification-providers/ntfy.js b/server/notification-providers/ntfy.js index ac9ae8e75..4d1c8d61b 100644 --- a/server/notification-providers/ntfy.js +++ b/server/notification-providers/ntfy.js @@ -57,6 +57,13 @@ class Ntfy extends NotificationProvider { status = "Up"; } } + + // Include monitor's assigned tags + if (monitorJSON && monitorJSON.tags && Array.isArray(monitorJSON.tags)) { + const monitorTagNames = monitorJSON.tags.map((tag) => tag.name); + tags = tags.concat(monitorTagNames); + } + let data = { topic: notification.ntfytopic, message: heartbeatJSON.msg,