- Restore sudo smartctl commands for proper SMART data collection - Add srv02 to host configuration for dashboard discovery - Remove redundant hosts.toml file, consolidate into dashboard.toml - Clean up base_url fields that were unused in ZMQ architecture The SMART data collection now works properly with systemd service by using sudo permissions configured in NixOS. Dashboard can now discover and connect to srv02 alongside existing hosts.
42 lines
610 B
TOML
42 lines
610 B
TOML
# CM Dashboard configuration
|
|
|
|
[hosts]
|
|
# default_host = "srv01"
|
|
|
|
[[hosts.hosts]]
|
|
name = "srv01"
|
|
enabled = true
|
|
# metadata = { rack = "R1" }
|
|
|
|
[[hosts.hosts]]
|
|
name = "labbox"
|
|
enabled = true
|
|
|
|
[[hosts.hosts]]
|
|
name = "srv02"
|
|
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"
|