mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 08:34:46 +02:00
add encoding for extra values
This commit is contained in:
parent
9f53f348e1
commit
e9ad4415bb
@ -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