mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-18 18:12:15 +00:00
Update notification service
This commit is contained in:
@@ -1327,7 +1327,7 @@ class HealthPersistence:
|
|||||||
|
|
||||||
# ────────────────────────────────────────────────────────────────
|
# ────────────────────────────────────────────────────────────────
|
||||||
# Disk Observations API
|
# Disk Observations API
|
||||||
# ────────────────────────────────────────────────────────────────
|
# ─────────────────<EFBFBD><EFBFBD><EFBFBD>──────────────────────────────────────────────
|
||||||
|
|
||||||
def register_disk(self, device_name: str, serial: Optional[str] = None,
|
def register_disk(self, device_name: str, serial: Optional[str] = None,
|
||||||
model: Optional[str] = None, size_bytes: Optional[int] = None):
|
model: Optional[str] = None, size_bytes: Optional[int] = None):
|
||||||
|
|||||||
@@ -658,7 +658,7 @@ TEMPLATES = {
|
|||||||
'default_enabled': True,
|
'default_enabled': True,
|
||||||
},
|
},
|
||||||
|
|
||||||
# ── Network events ──
|
# ── Network events ─<EFBFBD><EFBFBD>
|
||||||
'network_down': {
|
'network_down': {
|
||||||
'title': '{hostname}: Network connectivity lost',
|
'title': '{hostname}: Network connectivity lost',
|
||||||
'body': 'The node has lost network connectivity.\nReason: {reason}',
|
'body': 'The node has lost network connectivity.\nReason: {reason}',
|
||||||
@@ -1454,7 +1454,7 @@ TITLE: ✅success ❌failed 💥crash 🆘critical 📦updates 🆕pve-update
|
|||||||
🚀 = something STARTS (VM/CT start, backup start, server boot, task begin)
|
🚀 = something STARTS (VM/CT start, backup start, server boot, task begin)
|
||||||
Combine: 💾🚀backup-start 🖥️🚀system-boot 🚀VM/CT-start
|
Combine: 💾🚀backup-start 🖥️🚀system-boot 🚀VM/CT-start
|
||||||
|
|
||||||
BODY: 🏷️VM/CT name ✔️ok ❌error 💽size <EFBFBD><EFBFBD><EFBFBD><EFBFBD>total ⏱️duration 🗄️storage 📊summary
|
BODY: 🏷️VM/CT name ✔️ok ❌error 💽size 💾total ⏱️duration 🗄️storage 📊summary
|
||||||
📦updates 🔒security 🔄proxmox ⚙️kernel 🗂️packages 💿disk 📝reason
|
📦updates 🔒security 🔄proxmox ⚙️kernel 🗂️packages 💿disk 📝reason
|
||||||
🌐IP 👤user 🌡️temp 🔥CPU 💧RAM 🎯target 🔹current 🟢new 📌item
|
🌐IP 👤user 🌡️temp 🔥CPU 💧RAM 🎯target 🔹current 🟢new 📌item
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ STARTUP_GRACE_CATEGORIES: Set[str] = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# ─── Singleton State ─────────────────────────────────────────────────────────
|
# ─── Singleton State ───────────────────────────────────────<EFBFBD><EFBFBD>─────────────────
|
||||||
|
|
||||||
class _StartupGraceState:
|
class _StartupGraceState:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user