diff --git a/src/api2/node/rrd.rs b/src/api2/node/rrd.rs index a8e82a32..bee4a007 100644 --- a/src/api2/node/rrd.rs +++ b/src/api2/node/rrd.rs @@ -35,6 +35,7 @@ fn get_node_stats( "swaptotal", "swapused", "netin", "netout", "roottotal", "rootused", + "loadavg", ], timeframe, cf, diff --git a/www/DataStoreStatus.js b/www/DataStoreStatus.js index a97b983d..a547965c 100644 --- a/www/DataStoreStatus.js +++ b/www/DataStoreStatus.js @@ -33,6 +33,7 @@ Ext.define('pve-rrd-node', { 'swapused', 'roottotal', 'rootused', + 'loadavg', { type: 'date', dateFormat: 'timestamp', name: 'time' } ] }); @@ -75,6 +76,13 @@ Ext.define('PBS.DataStoreStatus', { fieldTitles: [gettext('CPU usage'), gettext('IO delay')], store: rrdstore }, + { + xtype: 'proxmoxRRDChart', + title: gettext('Server load'), + fields: ['loadavg'], + fieldTitles: [gettext('Load average')], + store: rrdstore + }, { xtype: 'proxmoxRRDChart', title: gettext('Memory usage'),