Add alert tools, mutes, short status, and backup summary
This commit is contained in:
@@ -150,6 +150,7 @@ async def docker_watchdog(container_map, notify, bot, chat_id):
|
||||
f"⚠️ {alias} health: {health}",
|
||||
level="warn",
|
||||
key=f"docker_health:{alias}",
|
||||
category="docker",
|
||||
)
|
||||
else:
|
||||
await notify(
|
||||
@@ -158,6 +159,7 @@ async def docker_watchdog(container_map, notify, bot, chat_id):
|
||||
f"🐳 {alias}: {status}",
|
||||
level="info",
|
||||
key=f"docker_status:{alias}:{status}",
|
||||
category="docker",
|
||||
)
|
||||
last[alias] = (status, health)
|
||||
await asyncio.sleep(120)
|
||||
|
||||
Reference in New Issue
Block a user