docs: document ZFS pool health alerting; fix pushover sound+url_title

This commit is contained in:
2026-05-08 16:25:55 -04:00
parent b9db0c552e
commit c20245b0ab
3 changed files with 75 additions and 1 deletions
+3 -1
View File
@@ -141,9 +141,11 @@ def _send_pushover(channel_cfg: dict, notif: Notification) -> bool:
logger.warning("pushover: missing token or user")
return False
params: dict = {"token": token, "user": user, "title": notif.title, "message": notif.body}
if channel_cfg.get("sound"):
params["sound"] = channel_cfg["sound"]
if notif.url:
params["url"] = notif.url
params["url_title"] = "Plugin metrics"
params["url_title"] = "Heartbeat"
conn = http.client.HTTPSConnection("api.pushover.net:443")
try:
conn.request(