From b05c7b8f2671c004bb3067c5550b737869c4d04c Mon Sep 17 00:00:00 2001 From: qgarnier Date: Fri, 12 Mar 2021 16:10:18 +0100 Subject: [PATCH] fix vmware memory-vm perfdata (#2649) --- apps/vmware/connector/mode/memoryvm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/vmware/connector/mode/memoryvm.pm b/apps/vmware/connector/mode/memoryvm.pm index b58dbbbff..2982520d5 100644 --- a/apps/vmware/connector/mode/memoryvm.pm +++ b/apps/vmware/connector/mode/memoryvm.pm @@ -50,7 +50,7 @@ sub custom_usage_perfdata { $self->{output}->perfdata_add( label => $self->{result_values}->{label_ref} . '_' . $label, unit => 'B', - instances => $self->use_instances(extra_instance => $options{extra_instance}) ? $self->{result_values}->{display} : undef, + instances => $self->use_instances(extra_instance => $options{extra_instance}) ? $self->{instance} : undef, nlabel => $nlabel, value => $value_perf, warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning-' . $self->{thlabel}, %total_options),