mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 13:45:18 +02:00
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
812bed9674
commit
8c09cc06d5
@ -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…
x
Reference in New Issue
Block a user