fix regexp
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@13910 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
646f16bf60
commit
c746e84b48
|
@ -290,7 +290,7 @@ sub retrieve_by_list_centreon_broker() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
while ($row4->{'perfdata'} =~ m/\'?([a|c|d|g]\[)?([a-zA-Z0-9\_\-\/\.\:\ ]+)(\])?\'?=([0-9\.\,\-])+/g) {
|
while ($row4->{'perfdata'} =~ m/\'?([a|c|d|g]\[)?([a-zA-Z0-9\_\-\/\.\:\ ]+)(\])?\'?=([0-9\.\,\-]+)/g) {
|
||||||
my $value = $4;
|
my $value = $4;
|
||||||
if (defined($2) && defined($value) && $2 =~ $row3->{'metric_name'}) {
|
if (defined($2) && defined($value) && $2 =~ $row3->{'metric_name'}) {
|
||||||
$metric_value_tab[$i] = $value;
|
$metric_value_tab[$i] = $value;
|
||||||
|
|
Loading…
Reference in New Issue