summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-18check_swap: Use C99 booleansRincewindsHat1-6/+6
2023-04-26Changing remaining sscanf format specifier to unsigned longLorenz Kästle1-3/+3
2023-04-14Fix a lot of typos reported by codespellrefs/pull/1864/headJan Wagner1-1/+1
2023-03-16check_swap: Remove unnecessary and problematic includesrefs/pull/1854/headRincewindsHat1-3/+0
2022-09-11Check swap compiler warnings (#1756)Lorenz1-6/+3
2022-07-25check_swap: Fix unit for total in perfdata (#1779)Lorenz1-11/+11
2022-07-25fix parsing swap values (#1780)Sven Nierlein1-1/+1
2022-01-03Rename tmp variable to get even with masterrefs/pull/1642/headLorenz Kästle1-4/+4
2022-01-03Merge branch 'master' into masterLorenz1-118/+157
2021-11-24More wrong printf formattingrefs/pull/1729/headRincewindsHat1-1/+1
2021-11-24Fix CodeQL checksRincewindsHat1-1/+1
2021-11-18Small fix to threshold validation and style (indentation) fixesrefs/pull/1723/headRincewindsHat1-20/+23
2021-10-02Revert to poor man's logicrefs/pull/1707/headRincewindsHat1-7/+6
2021-10-02Change all to comments to old comment styleRincewindsHat1-3/+4
2021-09-25Fix comparing logicRincewindsHat1-2/+2
2021-09-25check_swap: Fix perfdata und thresholds for big values and simplify coderincewind1-102/+137
2020-08-18check_swap: Handle cached swapmdavranche1-2/+5
2017-05-31repaired "-n" behaviour. If run with "-n ok" a host which ranrefs/pull/1491/headChristopher Odenbach1-8/+8
2015-10-04use unknown exit code for help/version in pluginsSven Nierlein1-2/+2
2014-10-19Improving output when swap space has zero sizeJan Wagner1-0/+1
2014-10-19check_swap - fix commentDavide Madrisan1-1/+1
2014-02-20check_swap: Fix the plugin name that appears in the commentDavide Madrisan1-1/+1
2014-01-29Update check_swap usageThomas Guyot-Sionnest1-3/+4
2014-01-29check_swap: add supports for a configurable state when there is no swapThomas Guyot-Sionnest1-2/+13
2014-01-29Fix check_swap returning OK on & thresholds and no swapThomas Guyot-Sionnest1-1/+1
2014-01-20Capitalize "Monitoring" when it's the first wordHolger Weiss1-1/+1
2014-01-19Project rename initial commit.Monitoring Plugins Development Team1-3/+3
2012-06-29Die when asprintf failsAnders Kaseorg1-8/+8
2010-04-22Add newline after "Usage:" in --helpThomas Guyot-Sionnest1-1/+1
2010-04-22Standardize the extra-opts notesThomas Guyot-Sionnest1-5/+0
2010-04-14Fix translations when extra-opts aren't enabledThomas Guyot-Sionnest1-5/+5
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest1-6/+2
2008-11-19Bulk EOL cleanupThomas Guyot-Sionnest1-1/+1
2008-05-07Added support for --extra-opts in all C plugins (disabled by default, see con...Thomas Guyot-Sionnest1-0/+9
2008-04-27--help output cleanup (plus removal of spaces on blank lines)Thomas Guyot-Sionnest1-2/+3
2008-01-31Bump plugin/ to GPLv3 (check_overcr to check_users)Thomas Guyot-Sionnest1-19/+17
2007-12-10Plenty of french translations (and a few fixes BTW)Thomas Guyot-Sionnest1-2/+1
2007-02-07Include <sys/param.h> before <sys/swap.h> in order to fix compilation onHolger Weiss1-3/+3
2007-01-28Don't try to print `optarg' (which will be a NULL pointer) if an unknownHolger Weiss1-1/+1
2006-12-07Fix coredump on 64bit Solaris. Also adds more error conditions and movesTon Voon1-5/+32
2006-10-19another round of localization cleaningBenoit Mortier1-46/+54
2006-03-13fix for (tracker id 1420741)M. Sean Finney1-2/+2
2005-11-09Problem where absolute thresholds not working on /proc/meminfoTon Voon1-87/+94
2005-10-31code cleanups, largely resulting from turning on -Wall. mostlyM. Sean Finney1-2/+2
2005-09-15- Cleanup minor compile errors on IrixTon Voon1-2/+0
2005-07-06Updated help file to remove swap -s reference (Sivakumar Nellurandi)Ton Voon1-4/+0
2005-06-29divide by 0 fix for check_swapM. Sean Finney1-1/+7
2005-06-28scanf parsing fix for check_swap from tracker id 1123292. now use floor(3)M. Sean Finney1-8/+10
2005-06-26"asprintf madness" fix from andreas' patch to np-d, minus the comments.M. Sean Finney1-13/+11
2005-01-19Fixed parsing of AIX lsps command (1093522)Ton Voon1-1/+1