use loop1 instead of loop0
box-setup.sh always resizes the loopback partition on reboot. This means that it always be loop1.
This commit is contained in:
@@ -103,9 +103,9 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
|
|||||||
|
|
||||||
$scope.updateDiskGraphs = function () {
|
$scope.updateDiskGraphs = function () {
|
||||||
Client.graphs([
|
Client.graphs([
|
||||||
'averageSeries(collectd.localhost.df-loop0.df_complex-free)',
|
'averageSeries(collectd.localhost.df-loop1.df_complex-free)',
|
||||||
'averageSeries(collectd.localhost.df-loop0.df_complex-reserved)',
|
'averageSeries(collectd.localhost.df-loop1.df_complex-reserved)',
|
||||||
'averageSeries(collectd.localhost.df-loop0.df_complex-used)'
|
'averageSeries(collectd.localhost.df-loop1.df_complex-used)'
|
||||||
], '-1min', function (error, data) {
|
], '-1min', function (error, data) {
|
||||||
if (error) return console.log(error);
|
if (error) return console.log(error);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user