diff --git a/Cargo.lock b/Cargo.lock index c141c65..c07cd76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -279,7 +279,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "cm-dashboard" -version = "0.1.133" +version = "0.1.134" dependencies = [ "anyhow", "chrono", @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "cm-dashboard-agent" -version = "0.1.133" +version = "0.1.134" dependencies = [ "anyhow", "async-trait", @@ -324,7 +324,7 @@ dependencies = [ [[package]] name = "cm-dashboard-shared" -version = "0.1.133" +version = "0.1.134" dependencies = [ "chrono", "serde", diff --git a/agent/Cargo.toml b/agent/Cargo.toml index 28ed693..6498806 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-agent" -version = "0.1.134" +version = "0.1.135" edition = "2021" [dependencies] diff --git a/agent/src/config/mod.rs b/agent/src/config/mod.rs index 45507eb..f7628cc 100644 --- a/agent/src/config/mod.rs +++ b/agent/src/config/mod.rs @@ -74,7 +74,8 @@ pub struct DiskConfig { pub usage_warning_percent: f32, /// Disk usage critical threshold (percentage) pub usage_critical_percent: f32, - /// Filesystem configurations + /// Filesystem configurations (optional - auto-discovery used if empty) + #[serde(default)] pub filesystems: Vec, /// SMART monitoring thresholds pub temperature_warning_celsius: f32, diff --git a/dashboard/Cargo.toml b/dashboard/Cargo.toml index 6ef439e..c5c0236 100644 --- a/dashboard/Cargo.toml +++ b/dashboard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard" -version = "0.1.134" +version = "0.1.135" edition = "2021" [dependencies] diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 2a1c5c1..bc1c9f9 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cm-dashboard-shared" -version = "0.1.134" +version = "0.1.135" edition = "2021" [dependencies]