fix vmware memory-vm perfdata (#2649)

This commit is contained in:
qgarnier 2021-03-12 16:10:18 +01:00 committed by GitHub
parent 5e822533ab
commit b05c7b8f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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),