Racks, notes and to-do, OS support, suggested dependencies, Nginx Proxy Manager and Home Assistant

- Racks page and a network diagram (UniFi tree with servers, printable)
- Notes on servers and devices; To do list shown in Coming up and My work
- Agents report the operating system (Linux 7, Windows 6); end-of-life badge and alert
- Suggested dependencies from where a service is reached
- Nginx Proxy Manager integration: proxy hosts page, certificate and host alerts, suggested checks
- Home Assistant integration: watch chosen entities, history chart, limit and unavailable alerts
- TimeChart gets a "value" scale that fits negatives; docs updated

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-20 21:47:56 +02:00
1 parent 68b41b5586
commit 18ceed62e8
77 files changed
+20432 -35

No files matched your search

+10 -1
View File
@@ -36,7 +36,7 @@ $ErrorActionPreference = 'Stop'
# 3 = can replace itself with the newer script when an administrator has switched that on in Homelab Manager
# 4 = also reports services that have failed, disk health, Storage Spaces pools and what the machine is (maker, model, serial)
# 5 = also says what it could not collect and why, so Homelab Manager can say what to fix
$script:AgentVersion = 5
$script:AgentVersion = 6
$script:DefaultConfigPath = Join-Path $env:ProgramData 'HomelabManager\agent.json'
@@ -451,10 +451,19 @@ function Get-SystemInfo($Config = $null) {
if (-not $hardware) { Add-Diag 'hardware' 'unavailable' 'not_found' }
} catch { Write-Warning "Reading the hardware identity failed. ($($_.Exception.Message))"; Add-Diag 'hardware' 'failed' 'error' $_.Exception.Message }
# What it runs, so the app can say when that release stops being supported: the product's name and its build number (a build is one release of Windows).
# Best-effort and silent: nothing here is worth a note of its own.
$osInfo = $null
try {
$caption = ([string]$os.Caption) -replace '^Microsoft\s+', ''
if ($caption.Trim() -and $os.BuildNumber) { $osInfo = [ordered]@{ id = 'windows'; name = $caption.Trim(); version = [string]$os.BuildNumber } }
} catch { }
return [ordered]@{
updates = $updates
health = $health
hardware = $hardware
os = $osInfo
diagnostics = @($script:Diag)
ip_addresses = @($ips)
cpu = [ordered]@{ model = [string]($cpus[0].Name).Trim(); cores = [int]$cores; load_percent = $(if ($null -ne $load) { [math]::Round([double]$load, 1) } else { $null }) }