consolidate migrations and add triggeredDesc for container health alert

This commit is contained in:
henrygd
2026-09-02 13:02:42 -04:00
parent 5969d36856
commit a4de2e87c4
5 changed files with 165 additions and 269 deletions

View File

@@ -108,11 +108,10 @@ export const alertInfo: Record<string, AlertInfo> = {
name: () => t`Container Health`,
unit: "",
icon: ContainerIcon,
desc: () => t`Triggers when a Docker container's health check reports unhealthy`,
desc: () => t`Triggers when a container's health check reports unhealthy`,
note: () =>
t`Notifications may include recent container log excerpts.`,
/** "for x minutes" is appended to desc when only one value */
singleDesc: () => `${t`Container`} ${t`Unhealthy`}`,
triggeredDesc: () => t`One or more containers are unhealthy`,
},
SystemdFailed: {
name: () => t`Failed Services`,