summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.d/swap.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 10:42:17 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2024-11-10 10:42:17 +0100
commit152cdcf3e425e11224b3c52cf0863b6825ae0874 (patch)
tree152cdc8833b31e6cff832712d5357c0f1e92fdd6 /plugins/check_swap.d/swap.c
parent9679551b20acdc8306a11e6c7d9dbc4f15e90967 (diff)
downloadmonitoring-plugins-152cdcf3e425e11224b3c52cf0863b6825ae0874.tar.gz
check_swap: change threshold handling again
Diffstat (limited to 'plugins/check_swap.d/swap.c')
-rw-r--r--plugins/check_swap.d/swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_swap.d/swap.c b/plugins/check_swap.d/swap.c
index 6c94b33a..354efdbf 100644
--- a/plugins/check_swap.d/swap.c
+++ b/plugins/check_swap.d/swap.c
@@ -11,8 +11,8 @@ swap_config swap_config_init(void) {
11 tmp.no_swap_state = STATE_CRITICAL; 11 tmp.no_swap_state = STATE_CRITICAL;
12 tmp.conversion_factor = SWAP_CONVERSION; 12 tmp.conversion_factor = SWAP_CONVERSION;
13 13
14 tmp.warn.is_set = false; 14 tmp.warn_is_set = false;
15 tmp.crit.is_set = false; 15 tmp.crit_is_set = false;
16 16
17#ifdef _AIX 17#ifdef _AIX
18 tmp.on_aix = true; 18 tmp.on_aix = true;