mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-24 15:53:05 -04:00
Update check_load.t
adjust tests for new plugin output
This commit is contained in:
parent
a08215368e
commit
e79ada81a6
1 changed files with 2 additions and 2 deletions
|
|
@ -11,8 +11,8 @@ use NPTest;
|
|||
my $res;
|
||||
|
||||
my $loadValue = "[0-9]+\.?[0-9]+";
|
||||
my $successOutput = "/^OK - load average: $loadValue, $loadValue, $loadValue/";
|
||||
my $failureOutput = "/^CRITICAL - load average: $loadValue, $loadValue, $loadValue/";
|
||||
my $successOutput = "/^LOAD OK - load average: $loadValue, $loadValue, $loadValue/";
|
||||
my $failureOutput = "/^LOAD CRITICAL - load average: $loadValue, $loadValue, $loadValue/";
|
||||
|
||||
plan tests => 11;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue