mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
Take into account non HTTP samples
This commit is contained in:
parent
e7f371cded
commit
a013ad7e47
@ -103,7 +103,7 @@ sub run {
|
||||
my $p = XML::Parser->new(NoLWP => 1);
|
||||
my $xp = XML::XPath->new(parser => $p, xml => $stdout);
|
||||
|
||||
my $listHttpSampleNode = $xp->findnodes('/testResults/httpSample');
|
||||
my $listHttpSampleNode = $xp->findnodes('/testResults/httpSample|/testResults/sample');
|
||||
|
||||
my $timing0 = 0;
|
||||
my $timing1 = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user