Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(alerts): use pbsDefaults instead of nodeDefaults for PBS instances

rcourtman0b3cb71fd1c9
diff --git a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
index 608dfe85ee..1f16c74a4e 100644
--- a/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
+++ b/frontend-modern/src/components/Alerts/ThresholdsTable.tsx
@@ -1440,8 +1440,8 @@ export function ThresholdsTable(props: ThresholdsTableProps) {
disableConnectivity,
thresholds: override?.thresholds || {},
defaults: {
- cpu: props.nodeDefaults.cpu,
- memory: props.nodeDefaults.memory,
+ cpu: props.pbsDefaults?.cpu ?? 80,
+ memory: props.pbsDefaults?.memory ?? 85,
},
};
});