Michał Mleczko
5969d36856
feat(alerts): add container health alerts with log excerpt on notifications ( #2225 )
...
Add a new "ContainerHealth" alert type that fires when a Docker container's
health check reports unhealthy, and resolves when it recovers. This mirrors
the existing Status (up/down) alert pattern: an alert can be armed per system
and honors the "min minutes" delay before firing.
When the alert fires, the notification (email and any configured webhook,
including Discord via shoutrrr) includes a log excerpt fetched live from the
agent for up to 2 of the unhealthy containers, prioritizing lines containing
"error" or "fatal" (falling back to the log tail if none match), capped to
keep the message well under Discord's size limit.
---------
Co-authored-by: hank <hank@henrygd.me >
2026-09-02 12:46:23 -04:00
..
2026-08-19 11:02:33 -04:00
2025-10-18 15:40:54 -04:00
2026-02-19 18:04:33 -05:00
2026-03-31 15:55:02 -04:00
2026-09-01 12:19:36 -04:00
2025-11-05 13:03:47 -05:00
2026-04-08 20:13:39 -04:00
2026-09-01 12:19:36 -04:00
2026-02-19 18:04:33 -05:00
2025-10-02 17:56:51 -04:00
2026-02-19 18:04:33 -05:00
2026-09-01 20:41:48 -04:00
2026-08-30 10:16:43 -04:00
2026-08-30 10:16:43 -04:00
2026-04-17 19:26:11 -04:00
2026-04-17 19:26:11 -04:00
2026-02-25 19:04:29 -05:00
2026-08-26 11:50:19 -04:00
2026-03-07 14:12:17 -05:00
2026-08-30 13:09:04 -04:00
2026-09-01 12:19:36 -04:00
2026-09-01 12:19:36 -04:00
2026-09-02 12:46:23 -04:00
2026-08-17 17:08:57 -04:00
2026-02-12 15:27:42 -05:00
2026-02-12 15:27:42 -05:00
2026-02-12 15:27:42 -05:00
2026-03-07 13:50:49 -05:00
2026-02-12 15:27:42 -05:00
2026-08-15 15:59:07 -04:00
2026-08-15 15:59:07 -04:00
2026-08-18 11:32:52 -04:00
2026-08-18 11:32:52 -04:00
2026-02-19 18:04:33 -05:00
2026-08-18 10:34:41 -04:00
2026-03-07 13:50:49 -05:00
2026-04-07 18:41:22 -04:00
2026-01-29 18:35:57 -05:00
2026-02-18 14:51:30 -05:00
2026-02-18 15:15:58 -05:00
2026-03-27 13:52:22 -04:00
2026-08-16 11:20:43 -04:00
2026-08-16 11:20:43 -04:00
2026-08-16 11:20:43 -04:00
2026-03-07 14:12:17 -05:00
2026-01-12 15:38:13 -05:00
2026-02-13 19:41:40 -05:00
2026-01-11 20:27:34 -05:00
2026-01-12 15:38:13 -05:00
2026-08-16 11:41:28 -04:00
2026-08-24 10:33:00 -04:00
2026-08-24 10:33:00 -04:00
2026-09-01 12:19:36 -04:00
2026-09-01 12:19:36 -04:00
2026-08-18 10:10:12 -04:00
2026-08-18 10:10:12 -04:00
2026-02-27 13:42:47 -05:00
2026-03-10 18:46:57 -04:00
2026-03-10 18:46:57 -04:00
2026-08-15 13:40:30 -04:00
2026-08-16 20:58:41 -04:00
2026-08-16 21:16:12 -04:00
2026-08-16 21:16:12 -04:00
2026-08-16 20:58:41 -04:00
2026-08-26 11:50:19 -04:00
2026-08-26 11:50:19 -04:00
2026-04-02 15:10:49 -04:00
2026-08-11 17:14:59 -04:00
2026-08-11 17:14:59 -04:00
2025-11-05 13:03:47 -05:00
2026-08-30 11:23:52 -04:00
2025-11-05 13:03:47 -05:00
2026-08-30 11:23:52 -04:00
2026-08-26 11:42:40 -04:00
2026-09-01 12:19:36 -04:00
2026-01-12 15:38:13 -05:00
2025-11-14 17:28:40 -05:00
2026-03-20 15:00:28 -04:00
2026-03-17 15:11:44 -04:00
2026-02-06 14:32:57 -05:00
2026-08-18 15:18:33 -04:00
2026-08-18 15:18:33 -04:00
2026-08-18 15:18:33 -04:00
2026-09-01 12:19:36 -04:00
2026-09-01 12:19:36 -04:00