From 9652316f9311dd1e6065a7d30893de396b6bd41f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 25 Apr 2019 15:24:45 +0200 Subject: [PATCH] fix new label qnap volume --- storage/qnap/snmp/mode/volumeusage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/qnap/snmp/mode/volumeusage.pm b/storage/qnap/snmp/mode/volumeusage.pm index 5c537f05f..6956ceff9 100644 --- a/storage/qnap/snmp/mode/volumeusage.pm +++ b/storage/qnap/snmp/mode/volumeusage.pm @@ -31,7 +31,7 @@ sub custom_usage_perfdata { my ($label, $nlabel) = ('used', $self->{nlabel}); my $value_perf = $self->{result_values}->{used}; if (defined($self->{instance_mode}->{option_results}->{free})) { - ($label, $nlabel) = ('free', 'memory.free.bytes'); + ($label, $nlabel) = ('free', 'volume.space.free.bytes'); $value_perf = $self->{result_values}->{free}; }