summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.d
AgeCommit message (Collapse)AuthorFilesLines
2025-09-16check_swap: Fix Build At Least For OpenBSDAlvar Penning1-2/+2
Fix build of check_swap for both CHECK_SWAP_SWAPCTL_SVR4 and CHECK_SWAP_SWAPCTL_BSD build guards. > $ make check_swap > CC check_swap.d/swap.o > check_swap.d/swap.c:58:32: error: too few arguments to function call, single argument 'config' was not specified > 58 | return getSwapFromSwapctl_BSD(); > | ~~~~~~~~~~~~~~~~~~~~~~ ^ > ././check_swap.d/check_swap.h:48:13: note: 'getSwapFromSwapctl_BSD' declared here > 48 | swap_result getSwapFromSwapctl_BSD(swap_config config); > | ^ ~~~~~~~~~~~~~~~~~~ > 1 error generated. > *** Error 1 in [...]/monitoring-plugins/plugins (Makefile:2869 'check_swap.d/swap.o': @echo " CC ...)
2025-09-15Run clang-format againLorenz Kästle2-7/+14
2025-03-17check_swap: Fixes on NetBSDLorenz Kästle2-56/+51
2025-02-18Implement new output functionality for check_swapLorenz Kästle2-0/+6
2024-11-15check_swap stuff: Error out if meminfo file can not be openedLorenz Kästle1-0/+7
2024-11-15check_swap stuff: make type casts explicit instead of implicitLorenz Kästle1-10/+10
2024-11-15check_swap stuff: improve error handlingLorenz Kästle1-19/+40
2024-11-15check_swap stuff: Add comments to ifdef stuff to improve readabilityLorenz Kästle1-4/+4
2024-11-15check_swap stuff: Use pragma once instead of include guardLorenz Kästle1-4/+1
2024-11-10check_swap: change threshold handling againLorenz Kästle2-3/+4
2024-11-10check_swap: stricter error handlingLorenz Kästle1-1/+7
2024-11-10check_swap: Use sscanf more precisely to avoid false matchesLorenz Kästle1-1/+1
2024-11-10check_swap: Make check_swap work without thresholdsLorenz Kästle2-3/+7
2024-11-02Small fixes to check_swap stuffLorenz Kästle1-22/+42
2024-11-02Merge branch 'master' into check_swap_againLorenz Kästle2-81/+77
2024-01-04Implement stub functionality for SRV4 swapctl stuffRincewindsHat1-16/+49
2024-01-04Implement stub functionality for BSD swapctl stuffRincewindsHat1-9/+30
2023-12-20Add missing includes in plugins/check_swap.d/swap.cRincewindsHat1-0/+2
2023-12-20check_swap: refactor to improve readabilityRincewindsHat2-0/+404