{{template "icon_sprite"}}

Felhom Hub

{{if or .OffsiteTile .PBSTile}}
{{with .OffsiteTile}} Restic {{formatFloat .FillPercent}}% · {{.RatioStr}} {{if .Degraded}}stale{{end}} {{end}} {{with .PBSTile}} PBS DR {{if .Unavailable}}n/a{{else}}{{formatFloat .FillPercent}}%{{end}} {{if .Degraded}}stale{{end}} {{end}}
{{end}} {{if not .Customers}}

No customer reports received yet.

Configure hub.enabled: true in customer controller.yaml to start receiving reports.

{{else}} {{range .Customers}} {{end}}
Customer Status Events Last Seen CPU Memory Disk Containers Last Backup Version
{{if .CustomerName}}{{.CustomerName}}{{else}}{{.CustomerID}}{{end}} {{if eq .OverallStatus "ok"}}OK{{else if eq .OverallStatus "warn"}}WARN{{else if eq .OverallStatus "disabled"}}PAUSED{{else if eq .OverallStatus "pending"}}PENDING{{else}}DOWN{{end}} {{if .HostCause}}{{.HostCause}}{{end}} {{if eq .OverallStatus "pending"}}—{{else}}{{if gt (add (add .EventCriticals .EventErrors) .EventWarnings) 0}}{{if gt .EventCriticals 0}}{{.EventCriticals}}{{end}}{{if gt .EventErrors 0}}{{.EventErrors}}{{end}}{{if gt .EventWarnings 0}}{{.EventWarnings}}{{end}}{{else}}{{end}}{{end}} {{if eq .OverallStatus "pending"}}—{{else}}{{timeAgo .ReceivedAt}}{{end}} {{if eq .OverallStatus "pending"}}—{{else}}{{formatFloat .CPUPercent}}%{{end}} {{if eq .OverallStatus "pending"}}—{{else}}{{formatFloat .MemoryPercent}}%{{end}} {{if eq .OverallStatus "pending"}}—{{else}}{{.DiskSummary}}{{end}} {{if eq .OverallStatus "pending"}}—{{else}}{{.ContainerRunning}}/{{.ContainerTotal}}{{end}} {{.BackupAge}} {{if .ControllerVersion}}{{.ControllerVersion}}{{else}}—{{end}}
{{end}}