Replaced system-wide disk usage with accurate per-service tracking by scanning service-specific directories. Services like sshd now correctly show minimal disk usage instead of misleading system totals. - Rename storage widget and add drive capacity/usage columns - Move host display to main dashboard title for cleaner layout - Replace separate alert displays with color-coded row highlighting - Add per-service disk usage collection using du command - Update services widget formatting to handle small disk values - Restructure into workspace with dedicated agent and dashboard packages
38 lines
563 B
TOML
38 lines
563 B
TOML
# CM Dashboard configuration
|
|
|
|
[hosts]
|
|
# default_host = "srv01"
|
|
|
|
[[hosts.hosts]]
|
|
name = "srv01"
|
|
enabled = true
|
|
# metadata = { rack = "R1" }
|
|
|
|
[[hosts.hosts]]
|
|
name = "labbox"
|
|
enabled = true
|
|
|
|
[dashboard]
|
|
tick_rate_ms = 250
|
|
history_duration_minutes = 60
|
|
|
|
[[dashboard.widgets]]
|
|
id = "nvme"
|
|
enabled = true
|
|
|
|
[[dashboard.widgets]]
|
|
id = "services"
|
|
enabled = true
|
|
|
|
[[dashboard.widgets]]
|
|
id = "backup"
|
|
enabled = true
|
|
|
|
[[dashboard.widgets]]
|
|
id = "alerts"
|
|
enabled = true
|
|
|
|
[filesystem]
|
|
# cache_dir = "/var/lib/cm-dashboard/cache"
|
|
# history_dir = "/var/lib/cm-dashboard/history"
|