summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_swap.t
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-01-07 11:25:47 +0100
committerGitHub <noreply@github.com>2025-01-07 11:25:47 +0100
commit558aca48ed764c46fce74c53312ce0d445ee3953 (patch)
treea90ce1e2f9916093bc82bf0cede4fd5b85b83f5e /plugins/t/check_swap.t
parente445a386f8ad1166b05fcdfdb5b9cde4622a8632 (diff)
parenta8ac865e67cdd88657ac6ece4524c09360dd824e (diff)
downloadmonitoring-plugins-558aca48ed764c46fce74c53312ce0d445ee3953.tar.gz
Merge branch 'master' into fix_check_http_state_regex
Diffstat (limited to 'plugins/t/check_swap.t')
-rw-r--r--plugins/t/check_swap.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/t/check_swap.t b/plugins/t/check_swap.t
index 18780386..eaa81083 100644
--- a/plugins/t/check_swap.t
+++ b/plugins/t/check_swap.t
@@ -8,9 +8,9 @@ use strict;
8use Test::More tests => 14; 8use Test::More tests => 14;
9use NPTest; 9use NPTest;
10 10
11my $successOutput = '/^SWAP OK - [0-9]+\% free \([0-9]+MB out of [0-9]+MB\)/'; 11my $successOutput = '/^SWAP OK - [0-9]+\% free \([0-9]+MiB out of [0-9]+MiB\)/';
12my $failureOutput = '/^SWAP CRITICAL - [0-9]+\% free \([0-9]+MB out of [0-9]+MB\)/'; 12my $failureOutput = '/^SWAP CRITICAL - [0-9]+\% free \([0-9]+MiB out of [0-9]+MiB\)/';
13my $warnOutput = '/^SWAP WARNING - [0-9]+\% free \([0-9]+MB out of [0-9]+MB\)/'; 13my $warnOutput = '/^SWAP WARNING - [0-9]+\% free \([0-9]+MiB out of [0-9]+MiB\)/';
14 14
15my $result; 15my $result;
16 16