mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-25 06:35:38 +02:00
add encoding for extra values
This commit is contained in:
parent
97d5ecf799
commit
bc9cba7ec5
@ -300,7 +300,7 @@ sub get_extra_values_by_instance {
|
|||||||
foreach (keys %{$self->{results}->{ $self->{extra_oids}->{$name}->{oid} }}) {
|
foreach (keys %{$self->{results}->{ $self->{extra_oids}->{$name}->{oid} }}) {
|
||||||
if (/^$self->{extra_oids}->{$name}->{oid}\.$matching/) {
|
if (/^$self->{extra_oids}->{$name}->{oid}\.$matching/) {
|
||||||
$extra_values->{$name} = '' if (!defined($extra_values->{$name}));
|
$extra_values->{$name} = '' if (!defined($extra_values->{$name}));
|
||||||
$extra_values->{$name} .= $append . $self->{results}->{$self->{extra_oids}->{$name}->{oid}}->{$_};
|
$extra_values->{$name} .= $append . $self->{output}->to_utf8($self->{results}->{ $self->{extra_oids}->{$name}->{oid} }->{$_});
|
||||||
$append = ',';
|
$append = ',';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user