diff --git a/src/bin/proxmox-backup-proxy.rs b/src/bin/proxmox-backup-proxy.rs index 162c23f5..4d7f8099 100644 --- a/src/bin/proxmox-backup-proxy.rs +++ b/src/bin/proxmox-backup-proxy.rs @@ -612,11 +612,15 @@ async fn generate_host_stats() { if let Err(err) = rrd::update_value("host/cpu", stat.cpu, rrd::DST::Gauge) { eprintln!("rrd::update_value 'host/cpu' failed - {}", err); } + if let Err(err) = rrd::update_value("host/iowait", stat.iowait_percent, rrd::DST::Gauge) { + eprintln!("rrd::update_value 'host/iowait' failed - {}", err); + } } Err(err) => { eprintln!("read_proc_stat failed - {}", err); } } + match read_meminfo() { Ok(meminfo) => { if let Err(err) = rrd::update_value("host/memtotal", meminfo.memtotal as f64, rrd::DST::Gauge) {