Fix SMART data collection and clean up configuration
- 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.
This commit is contained in:
parent
8cf8d37556
commit
f0eec38655
@ -5,13 +5,15 @@
|
|||||||
|
|
||||||
[[hosts.hosts]]
|
[[hosts.hosts]]
|
||||||
name = "srv01"
|
name = "srv01"
|
||||||
base_url = "http://srv01.local"
|
|
||||||
enabled = true
|
enabled = true
|
||||||
# metadata = { rack = "R1" }
|
# metadata = { rack = "R1" }
|
||||||
|
|
||||||
[[hosts.hosts]]
|
[[hosts.hosts]]
|
||||||
name = "labbox"
|
name = "labbox"
|
||||||
base_url = "http://labbox.local"
|
enabled = true
|
||||||
|
|
||||||
|
[[hosts.hosts]]
|
||||||
|
name = "srv02"
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
[dashboard]
|
[dashboard]
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
# Optional separate hosts configuration
|
|
||||||
|
|
||||||
[hosts]
|
|
||||||
# default_host = "srv01"
|
|
||||||
|
|
||||||
[[hosts.hosts]]
|
|
||||||
name = "srv01"
|
|
||||||
base_url = "http://srv01.local"
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
[[hosts.hosts]]
|
|
||||||
name = "labbox"
|
|
||||||
base_url = "http://labbox.local"
|
|
||||||
enabled = true
|
|
||||||
Loading…
x
Reference in New Issue
Block a user