All checks were successful
Build and Release / build-and-release (push) Successful in 1m7s
Implements clean structured data collection eliminating all string metric parsing bugs. Collectors now populate AgentData directly with type-safe field access. Key improvements: - Mount points preserved correctly (/ and /boot instead of root/boot) - Tmpfs discovery added to memory collector - Temperature data flows as typed f32 fields - Zero string parsing overhead - Complete removal of MetricCollectionManager bridge - Direct ZMQ transmission of structured JSON All functionality maintained: service tracking, notifications, status evaluation, and multi-host monitoring.
1002 lines
25 KiB
Plaintext
1002 lines
25 KiB
Plaintext
warning: fields `total_services`, `backup_disk_filesystem_label`, `services_completed_count`, `services_failed_count`, and `services_disabled_count` are never read
|
|
--> dashboard/src/ui/widgets/backup.rs:22:5
|
|
|
|
|
14 | pub struct BackupWidget {
|
|
| ------------ fields in this struct
|
|
...
|
|
22 | total_services: Option<i64>,
|
|
| ^^^^^^^^^^^^^^
|
|
...
|
|
36 | backup_disk_filesystem_label: Option<String>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
37 | /// Number of completed services
|
|
38 | services_completed_count: Option<i64>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
39 | /// Number of failed services
|
|
40 | services_failed_count: Option<i64>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
41 | /// Number of disabled services
|
|
42 | services_disabled_count: Option<i64>,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `BackupWidget` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
|
|
= note: `#[warn(dead_code)]` on by default
|
|
|
|
warning: field `exit_code` is never read
|
|
--> dashboard/src/ui/widgets/backup.rs:53:5
|
|
|
|
|
50 | struct ServiceMetricData {
|
|
| ----------------- field in this struct
|
|
...
|
|
53 | exit_code: Option<i64>,
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: `ServiceMetricData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
|
|
|
|
warning: associated function `extract_service_name` is never used
|
|
--> dashboard/src/ui/widgets/backup.rs:115:8
|
|
|
|
|
58 | impl BackupWidget {
|
|
| ----------------- associated function in this implementation
|
|
...
|
|
115 | fn extract_service_name(metric_name: &str) -> Option<String> {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: method `update_from_metrics` is never used
|
|
--> dashboard/src/ui/widgets/backup.rs:157:8
|
|
|
|
|
156 | impl BackupWidget {
|
|
| ----------------- method in this implementation
|
|
157 | fn update_from_metrics(&mut self, metrics: &[&Metric]) {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: associated function `extract_service_info` is never used
|
|
--> dashboard/src/ui/widgets/services.rs:50:8
|
|
|
|
|
38 | impl ServicesWidget {
|
|
| ------------------- associated function in this implementation
|
|
...
|
|
50 | fn extract_service_info(metric_name: &str) -> Option<(String, Option<String>)> {
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: method `update_from_metrics` is never used
|
|
--> dashboard/src/ui/widgets/services.rs:285:8
|
|
|
|
|
284 | impl ServicesWidget {
|
|
| ------------------- method in this implementation
|
|
285 | fn update_from_metrics(&mut self, metrics: &[&Metric]) {
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: field `health_status` is never read
|
|
--> dashboard/src/ui/widgets/system.rs:53:5
|
|
|
|
|
43 | struct StoragePool {
|
|
| ----------- field in this struct
|
|
...
|
|
53 | health_status: Status, // Separate status for pool health vs usage
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= note: `StoragePool` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
|
|
|
|
warning: `cm-dashboard` (bin "cm-dashboard") generated 7 warnings
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
|
|
Running `target/debug/cm-dashboard --headless --raw-data`
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936501,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.82,
|
|
"load_5min": 2.1,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3743.09,
|
|
"temperature_celsius": 55.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.183601,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3445206,
|
|
"available_gb": 16.994995,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.094376,
|
|
"used_gb": 0.3018875,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.582031,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936502,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.82,
|
|
"load_5min": 2.1,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3743.09,
|
|
"temperature_celsius": 55.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.183601,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3445206,
|
|
"available_gb": 16.994995,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.094376,
|
|
"used_gb": 0.3018875,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.582031,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936503,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.82,
|
|
"load_5min": 2.1,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3743.09,
|
|
"temperature_celsius": 55.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.183601,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3445206,
|
|
"available_gb": 16.994995,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.094376,
|
|
"used_gb": 0.3018875,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.582031,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936505,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3600.005,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 26.780334,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.2504005,
|
|
"available_gb": 17.089115,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936506,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3600.005,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 26.780334,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.2504005,
|
|
"available_gb": 17.089115,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936507,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3600.005,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 26.780334,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.2504005,
|
|
"available_gb": 17.089115,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936508,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3600.005,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 26.780334,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.2504005,
|
|
"available_gb": 17.089115,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936509,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3638.71,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.014532,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3050613,
|
|
"available_gb": 17.034454,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936509,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 0.0,
|
|
"load_5min": 0.0,
|
|
"load_15min": 0.0,
|
|
"frequency_mhz": 0.0,
|
|
"temperature_celsius": null
|
|
},
|
|
"memory": {
|
|
"usage_percent": 0.0,
|
|
"total_gb": 0.0,
|
|
"used_gb": 0.0,
|
|
"available_gb": 0.0,
|
|
"swap_total_gb": 0.0,
|
|
"swap_used_gb": 0.0,
|
|
"tmpfs": []
|
|
},
|
|
"storage": {
|
|
"drives": [],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936510,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3638.71,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.014532,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3050613,
|
|
"available_gb": 17.034454,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936511,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3638.71,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.014532,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3050613,
|
|
"available_gb": 17.034454,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
RAW AGENT DATA FROM cmbox:
|
|
{
|
|
"hostname": "cmbox",
|
|
"agent_version": "v0.1.133",
|
|
"timestamp": 1763936512,
|
|
"system": {
|
|
"cpu": {
|
|
"load_1min": 1.75,
|
|
"load_5min": 2.08,
|
|
"load_15min": 2.1,
|
|
"frequency_mhz": 3638.71,
|
|
"temperature_celsius": 56.0
|
|
},
|
|
"memory": {
|
|
"usage_percent": 27.014532,
|
|
"total_gb": 23.339516,
|
|
"used_gb": 6.3050613,
|
|
"available_gb": 17.034454,
|
|
"swap_total_gb": 14.634708,
|
|
"swap_used_gb": 0.17599106,
|
|
"tmpfs": [
|
|
{
|
|
"mount": "/tmp",
|
|
"usage_percent": 15.095139,
|
|
"used_gb": 0.30190277,
|
|
"total_gb": 2.0
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"drives": [
|
|
{
|
|
"name": "nvme0n1",
|
|
"health": "PASSED",
|
|
"temperature_celsius": 28.0,
|
|
"wear_percent": 1.0,
|
|
"filesystems": [
|
|
{
|
|
"mount": "root",
|
|
"usage_percent": 24.404377,
|
|
"used_gb": 226.51398,
|
|
"total_gb": 928.1695
|
|
},
|
|
{
|
|
"mount": "boot",
|
|
"usage_percent": 10.666672,
|
|
"used_gb": 0.10645676,
|
|
"total_gb": 0.9980316
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"pools": []
|
|
}
|
|
},
|
|
"services": [
|
|
{
|
|
"name": "tailscaled",
|
|
"status": "active",
|
|
"memory_mb": 25.59375,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
},
|
|
{
|
|
"name": "sshd",
|
|
"status": "active",
|
|
"memory_mb": 4.3085938,
|
|
"disk_gb": 0.0,
|
|
"user_stopped": false
|
|
}
|
|
],
|
|
"backup": {
|
|
"status": "unknown",
|
|
"last_run": null,
|
|
"next_scheduled": null,
|
|
"total_size_gb": null,
|
|
"repository_health": null
|
|
}
|
|
}
|
|
────────────────────────────────────────────────────────────────────────────────
|
|
Terminated
|