Match any loop back device

This is just a quick fix and will potentially match all
loop* devices.
This commit is contained in:
Johannes Zellner
2016-01-25 13:06:36 +01:00
parent 34aab65db3
commit ad205da3db

View File

@@ -103,9 +103,9 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
$scope.updateDiskGraphs = function () {
Client.graphs([
'averageSeries(collectd.localhost.df-loop1.df_complex-free)',
'averageSeries(collectd.localhost.df-loop1.df_complex-reserved)',
'averageSeries(collectd.localhost.df-loop1.df_complex-used)'
'averageSeries(collectd.localhost.df-loop*.df_complex-free)',
'averageSeries(collectd.localhost.df-loop*.df_complex-reserved)',
'averageSeries(collectd.localhost.df-loop*.df_complex-used)'
], '-1min', function (error, data) {
if (error) return console.log(error);