Show overall system disk usage in graphs

Also adds a bit of description what the numbers include.

Fixes #83 since any more folder level information is currently too much work.
This commit is contained in:
Johannes Zellner
2016-12-07 16:48:37 +01:00
parent ba7c901d7a
commit 761ce99f8e
2 changed files with 28 additions and 7 deletions

View File

@@ -105,11 +105,15 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
Client.graphs([
'averageSeries(collectd.localhost.df-loop*.df_complex-free)',
'averageSeries(collectd.localhost.df-loop*.df_complex-reserved)',
'averageSeries(collectd.localhost.df-loop*.df_complex-used)'
'averageSeries(collectd.localhost.df-loop*.df_complex-used)',
'averageSeries(collectd.localhost.df-*d*.df_complex-free)',
'averageSeries(collectd.localhost.df-*d*.df_complex-reserved)',
'averageSeries(collectd.localhost.df-*d*.df_complex-used)'
], '-1min', function (error, data) {
if (error) return console.log(error);
renderDisk('box', data[0], data[1], data[2]);
renderDisk('data', data[0], data[1], data[2]);
renderDisk('system', data[3], data[4], data[5]);
});
};