diff options
author | Danijel Tasov <m@rbfh.de> | 2023-10-04 08:39:30 (GMT) |
---|---|---|
committer | Danijel Tasov <m@rbfh.de> | 2023-10-04 08:39:30 (GMT) |
commit | df57a23e0ace0c1d1c19038fd3834b20742ef24a (patch) | |
tree | d8c69871ec9703f61cdd9a0d73652232fba5890a /plugins-root | |
parent | 6585711b0b5beafed69881b66d9c105dad658a3f (diff) | |
download | monitoring-plugins-df57a23e0ace0c1d1c19038fd3834b20742ef24a.tar.gz |
update failure regex
Diffstat (limited to 'plugins-root')
-rw-r--r-- | plugins-root/t/check_icmp.t | 2 |
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) { | |||
19 | my $sudo = $> == 0 ? '' : 'sudo'; | 19 | my $sudo = $> == 0 ? '' : 'sudo'; |
20 | 20 | ||
21 | my $successOutput = '/OK - .*? rta (?:[\d\.]+ms)|(?:nan), lost \d+%/'; | 21 | my $successOutput = '/OK - .*? rta (?:[\d\.]+ms)|(?:nan), lost \d+%/'; |
22 | my $failureOutput = '/(WARNING|CRITICAL) - .*? rta [\d\.]+ms > [\d\.]+ms/'; | 22 | my $failureOutput = '/(WARNING|CRITICAL) - .*? rta (?:[\d\.]+ms > [\d\.]+ms|nan)/'; |
23 | 23 | ||
24 | my $host_responsive = getTestParameter( "NP_HOST_RESPONSIVE", | 24 | my $host_responsive = getTestParameter( "NP_HOST_RESPONSIVE", |
25 | "The hostname of system responsive to network requests", | 25 | "The hostname of system responsive to network requests", |