fix Bug #3080 : Meta-service parsing dataperf with quote
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12895 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
e480a30f13
commit
99984d5840
|
@ -203,7 +203,7 @@ sub retrieve_by_regexp() {
|
|||
my $i = 0;
|
||||
while ($row2 = $DBRES2->fetchrow_hashref()) {
|
||||
if (defined($metric_select)) {
|
||||
$row2->{'perfdata'} =~ m/$metric_select=([0-9\.]+)/;
|
||||
$row2->{'perfdata'} =~ m/\'?$metric_select\'?=([0-9\.]+)/;
|
||||
if (defined($1)) {
|
||||
$metric_value_tab[$i] = $1;
|
||||
$i++;
|
||||
|
|
Loading…
Reference in New Issue