diff options
author | Harald Jenny <haraldj@users.noreply.github.com> | 2021-07-05 08:30:39 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2021-10-25 14:28:15 (GMT) |
commit | e79ada81a696e3c826b383e3ff7cbc8f91bf46a4 (patch) | |
tree | 55353962a7e8a146ef4583415d9e6ff0bf68a0e3 /plugins | |
parent | a08215368e5f9dc0164fcce9f5591c5310fdeb8c (diff) | |
download | monitoring-plugins-e79ada81a696e3c826b383e3ff7cbc8f91bf46a4.tar.gz |
Update check_load.t
adjust tests for new plugin output
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/t/check_load.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_load.t b/plugins/t/check_load.t index 55f6f75..60837ef 100644 --- a/plugins/t/check_load.t +++ b/plugins/t/check_load.t | |||
@@ -11,8 +11,8 @@ use NPTest; | |||
11 | my $res; | 11 | my $res; |
12 | 12 | ||
13 | my $loadValue = "[0-9]+\.?[0-9]+"; | 13 | my $loadValue = "[0-9]+\.?[0-9]+"; |
14 | my $successOutput = "/^OK - load average: $loadValue, $loadValue, $loadValue/"; | 14 | my $successOutput = "/^LOAD OK - load average: $loadValue, $loadValue, $loadValue/"; |
15 | my $failureOutput = "/^CRITICAL - load average: $loadValue, $loadValue, $loadValue/"; | 15 | my $failureOutput = "/^LOAD CRITICAL - load average: $loadValue, $loadValue, $loadValue/"; |
16 | 16 | ||
17 | plan tests => 11; | 17 | plan tests => 11; |
18 | 18 | ||