www/DataStoreStatus.js: display loadavg stats
This commit is contained in:
parent
2c66a590c0
commit
d8dc281992
@ -35,6 +35,7 @@ fn get_node_stats(
|
|||||||
"swaptotal", "swapused",
|
"swaptotal", "swapused",
|
||||||
"netin", "netout",
|
"netin", "netout",
|
||||||
"roottotal", "rootused",
|
"roottotal", "rootused",
|
||||||
|
"loadavg",
|
||||||
],
|
],
|
||||||
timeframe,
|
timeframe,
|
||||||
cf,
|
cf,
|
||||||
|
@ -33,6 +33,7 @@ Ext.define('pve-rrd-node', {
|
|||||||
'swapused',
|
'swapused',
|
||||||
'roottotal',
|
'roottotal',
|
||||||
'rootused',
|
'rootused',
|
||||||
|
'loadavg',
|
||||||
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
|
{ type: 'date', dateFormat: 'timestamp', name: 'time' }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
@ -75,6 +76,13 @@ Ext.define('PBS.DataStoreStatus', {
|
|||||||
fieldTitles: [gettext('CPU usage'), gettext('IO delay')],
|
fieldTitles: [gettext('CPU usage'), gettext('IO delay')],
|
||||||
store: rrdstore
|
store: rrdstore
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxRRDChart',
|
||||||
|
title: gettext('Server load'),
|
||||||
|
fields: ['loadavg'],
|
||||||
|
fieldTitles: [gettext('Load average')],
|
||||||
|
store: rrdstore
|
||||||
|
},
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxRRDChart',
|
xtype: 'proxmoxRRDChart',
|
||||||
title: gettext('Memory usage'),
|
title: gettext('Memory usage'),
|
||||||
|
Loading…
Reference in New Issue
Block a user