Don't ntfy for logrotate failures and add container names to ntfy alerts

This commit is contained in:
2026-03-13 20:00:09 -07:00
parent 4899a37a82
commit bd71d6e2f5
5 changed files with 20 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ in
--max-time 30 --retry 3 \
${cfg.curlExtraArgs} \
-H "Authorization: Bearer $NTFY_TOKEN" \
-H "Title: Service failure on ${config.networking.hostName}" \
-H "Title: Service failure on ${cfg.hostLabel}" \
-H "Priority: high" \
-H "Tags: rotating_light" \
-H "Message: Unit $unit failed at $(date +%c)" \