summaryrefslogtreecommitdiffstats
path: root/plugins-root/t
diff options
context:
space:
mode:
authorDanijel Tasov <m@rbfh.de>2023-10-04 08:39:30 (GMT)
committerDanijel Tasov <m@rbfh.de>2023-10-04 08:39:30 (GMT)
commitdf57a23e0ace0c1d1c19038fd3834b20742ef24a (patch)
treed8c69871ec9703f61cdd9a0d73652232fba5890a /plugins-root/t
parent6585711b0b5beafed69881b66d9c105dad658a3f (diff)
downloadmonitoring-plugins-df57a23e0ace0c1d1c19038fd3834b20742ef24a.tar.gz
update failure regex
Diffstat (limited to 'plugins-root/t')
-rw-r--r--plugins-root/t/check_icmp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/t/check_icmp.t b/plugins-root/t/check_icmp.t
index 07e175e..9fb8fa0 100644
--- a/plugins-root/t/check_icmp.t
+++ b/plugins-root/t/check_icmp.t
@@ -19,7 +19,7 @@ if ($allow_sudo eq "yes" or $> == 0) {
19my $sudo = $> == 0 ? '' : 'sudo'; 19my $sudo = $> == 0 ? '' : 'sudo';
20 20
21my $successOutput = '/OK - .*? rta (?:[\d\.]+ms)|(?:nan), lost \d+%/'; 21my $successOutput = '/OK - .*? rta (?:[\d\.]+ms)|(?:nan), lost \d+%/';
22my $failureOutput = '/(WARNING|CRITICAL) - .*? rta [\d\.]+ms > [\d\.]+ms/'; 22my $failureOutput = '/(WARNING|CRITICAL) - .*? rta (?:[\d\.]+ms > [\d\.]+ms|nan)/';
23 23
24my $host_responsive = getTestParameter( "NP_HOST_RESPONSIVE", 24my $host_responsive = getTestParameter( "NP_HOST_RESPONSIVE",
25 "The hostname of system responsive to network requests", 25 "The hostname of system responsive to network requests",