remove calculate problem
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@8539 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
c947ded618
commit
e091dafe35
|
@ -213,8 +213,9 @@ sub retrieve_by_list() {
|
|||
$row4 = $DBRES4->fetchrow_hashref();
|
||||
|
||||
while ($row4->{'perfdata'} =~ m/\'?([a-zA-Z0-9\_\-\/\.\:\ ]+)\'?=([0-9\.\,\-]+)/g) {
|
||||
if (defined($1) && defined($2) && $1 =~ $row3->{'metric_name'}) {
|
||||
$metric_value_tab[$i] = $2;
|
||||
my $value = $2;
|
||||
if (defined($1) && defined($value) && $1 =~ $row3->{'metric_name'}) {
|
||||
$metric_value_tab[$i] = $value;
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue