fix new label qnap volume

This commit is contained in:
garnier-quentin 2019-04-25 15:24:09 +02:00
parent 859ea15d36
commit 0784221f2b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ sub set_counters {
];
$self->{maps_counters}->{volume} = [
{ label => 'usage', nlabel => 'memory.usage.bytes', set => {
{ label => 'usage', nlabel => 'volume.space.usage.bytes', set => {
key_values => [ { name => 'display' }, { name => 'used' }, { name => 'free' } ],
closure_custom_calc => $self->can('custom_usage_calc'),
closure_custom_output => $self->can('custom_usage_output'),