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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix(proxmox): add GetClusterOptions to ClusterClient for tag colour fetch
rcourtman3a02dd171b0a
diff --git a/pkg/proxmox/cluster_client.go b/pkg/proxmox/cluster_client.goindex 5d8ad6013c..c7cd19cf2a 100644--- a/pkg/proxmox/cluster_client.go+++ b/pkg/proxmox/cluster_client.go@@ -1444,6 +1444,20 @@ func (cc *ClusterClient) IsQuorate(ctx context.Context) (bool, error) {return true, nil}+// GetClusterOptions fetches datacenter options (e.g. tag colour map) via the first healthy node.+func (cc *ClusterClient) GetClusterOptions(ctx context.Context) (*ClusterOptions, error) {+ var result *ClusterOptions+ err := cc.executeWithFailover(ctx, func(client *Client) error {+ opts, err := client.GetClusterOptions(ctx)+ if err != nil {+ return err+ }+ result = opts+ return nil+ })+ return result, err+}+// isAuthError checks if an error is an authentication errorfunc isAuthError(err error) bool {if err == nil {