diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 21:54:05 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 21:54:05 +0200 |
commit | 7382fa90f84d38cd2ae08c880e9ed6a4ad644d35 (patch) | |
tree | e367f424cfb94bd6730e196916a96a9725e61c27 /plugins/check_swap.d/check_swap.h | |
parent | fb39f96ac6f72bb56d17f3e8694134dfea9186e9 (diff) | |
parent | 1dfb5a0c10881b43cb60cf93bab63648c61201b5 (diff) | |
download | monitoring-plugins-7382fa90f84d38cd2ae08c880e9ed6a4ad644d35.tar.gz |
Merge branch 'master' into refactor/check_users
Diffstat (limited to 'plugins/check_swap.d/check_swap.h')
-rw-r--r-- | plugins/check_swap.d/check_swap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_swap.d/check_swap.h b/plugins/check_swap.d/check_swap.h index 1000fc9e..da08d65a 100644 --- a/plugins/check_swap.d/check_swap.h +++ b/plugins/check_swap.d/check_swap.h | |||
@@ -1,7 +1,8 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include "../common.h" | 3 | #include "../common.h" |
4 | #include "output.h" | 4 | #include "../../lib/output.h" |
5 | #include "../../lib/states.h" | ||
5 | 6 | ||
6 | #ifndef SWAP_CONVERSION | 7 | #ifndef SWAP_CONVERSION |
7 | # define SWAP_CONVERSION 1 | 8 | # define SWAP_CONVERSION 1 |
@@ -26,7 +27,7 @@ typedef struct { | |||
26 | 27 | ||
27 | typedef struct { | 28 | typedef struct { |
28 | bool allswaps; | 29 | bool allswaps; |
29 | int no_swap_state; | 30 | mp_state_enum no_swap_state; |
30 | bool warn_is_set; | 31 | bool warn_is_set; |
31 | check_swap_threshold warn; | 32 | check_swap_threshold warn; |
32 | bool crit_is_set; | 33 | bool crit_is_set; |