Merge pull request #1907 from UrBnW/interfaces
Typo in interfaces perfdata new label
This commit is contained in:
commit
e42f50747c
|
@ -202,7 +202,7 @@ sub custom_errors_perfdata {
|
|||
if ($self->{instance_mode}->{option_results}->{units_errors} eq '%') {
|
||||
$self->{output}->perfdata_add(
|
||||
label => 'packets_' . $self->{result_values}->{label2} . '_' . $self->{result_values}->{label1}, unit => '%',
|
||||
nlabel => 'interface.packets.' . $self->{result_values}->{label1} . '.' . $self->{result_values}->{label2} . 's.percentage',
|
||||
nlabel => 'interface.packets.' . $self->{result_values}->{label1} . '.' . $self->{result_values}->{label2} . '.percentage',
|
||||
instances => $self->use_instances(extra_instance => $options{extra_instance}) ? $self->{result_values}->{display} : undef,
|
||||
value => sprintf("%.2f", $self->{result_values}->{prct}),
|
||||
warning => $self->{perfdata}->get_perfdata_for_output(label => 'warning-' . $self->{label}),
|
||||
|
|
Loading…
Reference in New Issue