Collect Proxmox VE guests, backup jobs and vzdump runs as a read-only linux.proxmox scope
Rust development slice / linux (push) Failing after 12s
Rust development slice / linux (push) Failing after 12s
The Linux agent queries the local PVE API with a PVEAuditor token from the systemd credential rmm-proxmox-token and the pinned cluster CA. Guests carry MAC addresses and SMBIOS UUIDs for hypervisor mapping; jobs carry covered guests and the scheduler's last expected run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,8 @@ pub fn apt_planning_metadata() -> Result<Vec<u8>> {
|
||||
Ok(output.stdout)
|
||||
}
|
||||
|
||||
/// Read-only local collection. No shell, package manager or hypervisor access.
|
||||
/// Read-only local collection. No shell or package manager; Proxmox VE is read only
|
||||
/// through its local API with a PVEAuditor token (`inventory::proxmox`).
|
||||
pub fn collect() -> Result<Inventory> {
|
||||
let os = fs::read_to_string("/etc/os-release").context("read OS release")?;
|
||||
let hostname = fs::read_to_string("/proc/sys/kernel/hostname")?;
|
||||
|
||||
Reference in New Issue
Block a user