Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-11-10 | check_swap: change threshold handling again | Lorenz Kästle | 1 | -15/+20 | |
2024-11-10 | check_swap: stricter error handling | Lorenz Kästle | 1 | -0/+6 | |
2024-11-10 | check_swap: Make check_swap work without thresholds | Lorenz Kästle | 1 | -9/+2 | |
2024-11-10 | check_swap: Small improvements | Lorenz Kästle | 1 | -8/+6 | |
2024-11-02 | Small fixes to check_swap stuff | Lorenz Kästle | 1 | -3/+6 | |
2024-11-02 | Merge branch 'master' into check_swap_again | Lorenz Kästle | 1 | -95/+96 | |
2024-04-12 | Allow single threshold | Napsty | 1 | -8/+2 | |
2024-04-12 | Possibility to run check_swap without thresholds | Napsty | 1 | -28/+31 | |
2024-03-23 | check_swap: replace another fake boolen and small improvements (#1996) | Lorenz Kästle | 1 | -10/+10 | |
* check_swap: Change another fake boolen to a real one * check_swap: Rename type since *_t is reserved for C standard types * check_swap: Update copyright | |||||
2023-12-20 | check_swap: refactor to improve readability | RincewindsHat | 1 | -376/+4 | |
2023-12-20 | check_swap: Hopefully fix stuff on BSD | RincewindsHat | 1 | -7/+21 | |
2023-12-20 | check_swap: hopefully fix SRV4 stuff | RincewindsHat | 1 | -11/+23 | |
2023-12-20 | Update copyright | RincewindsHat | 1 | -2/+2 | |
2023-12-20 | check_swap: clang-format + minor cosmetics/debugging/etc | RincewindsHat | 1 | -303/+330 | |
2023-12-20 | check_swap: Return byte number (in linux) and simplify code after that | RincewindsHat | 1 | -34/+42 | |
2023-12-20 | check_swap: Heavily refactored linux part | RincewindsHat | 1 | -363/+395 | |
2023-12-20 | check_swap: Rename type since *_t is reserved for C standard types | RincewindsHat | 1 | -3/+3 | |
2023-12-20 | check_swap: Change another fake boolen to a real one | RincewindsHat | 1 | -5/+5 | |
2023-10-18 | check_swap: Use C99 booleans | RincewindsHat | 1 | -6/+6 | |
2023-04-26 | Changing remaining sscanf format specifier to unsigned long | Lorenz Kästle | 1 | -3/+3 | |
2023-04-14 | Fix a lot of typos reported by codespell | Jan Wagner | 1 | -1/+1 | |
2023-03-16 | check_swap: Remove unnecessary and problematic includes | RincewindsHat | 1 | -3/+0 | |
2022-09-11 | Check swap compiler warnings (#1756) | Lorenz | 1 | -6/+3 | |
* Fix compiler warnings * Fix superfluous whitespaces | |||||
2022-07-25 | check_swap: Fix unit for total in perfdata (#1779) | Lorenz | 1 | -11/+11 | |
* check_swap: Fix unit for total in perfdata * Remove trailing whitespaces | |||||
2022-07-25 | fix parsing swap values (#1780) | Sven Nierlein | 1 | -1/+1 | |
tmp_KB changed from float to uint64, so change the sscanf format accordingly. | |||||
2022-01-03 | Rename tmp variable to get even with master | Lorenz Kästle | 1 | -4/+4 | |
2022-01-03 | Merge branch 'master' into master | Lorenz | 1 | -118/+157 | |
2021-11-24 | More wrong printf formatting | RincewindsHat | 1 | -1/+1 | |
2021-11-24 | Fix CodeQL checks | RincewindsHat | 1 | -1/+1 | |
2021-11-19 | Small fix to threshold validation and style (indentation) fixes | RincewindsHat | 1 | -20/+23 | |
2021-10-02 | Revert to poor man's logic | RincewindsHat | 1 | -7/+6 | |
2021-10-02 | Change all to comments to old comment style | RincewindsHat | 1 | -3/+4 | |
2021-09-26 | Fix comparing logic | RincewindsHat | 1 | -2/+2 | |
2021-09-25 | check_swap: Fix perfdata und thresholds for big values and simplify code | rincewind | 1 | -102/+137 | |
The original problem was https://github.com/monitoring-plugins/monitoring-plugins/pull/1705 where the performance data output of check_swap did not conform to the parser logic of a monitoring system (which decided to go for "correct" SI or IEC units. The PR was accompanied by a change to byte values in the performance data which broke the _perfdata_ helper function which could not handle values of this size. The fix for this, was to use _fperfdata_ which could, but would use float values. I didn't like that (since all values here are discreet) and this is my proposal for a fix for the problem. It introduces some helper functions which do now explicitely work with (u)int64_t, including a special version of the _perfdata_ helper. In the process of introducing this to check_swap, I stumbled over several sections of the check_swap code which I found problematic. Therefore I tried to simplify the code and make it more readable and less redundant. I am kinda sorry about this, but sincerely hope my changes can be helpful. | |||||
2020-08-18 | check_swap: Handle cached swap | mdavranche | 1 | -2/+5 | |
2017-05-31 | repaired "-n" behaviour. If run with "-n ok" a host which ran | Christopher Odenbach | 1 | -8/+8 | |
completely out of swap space would return "ok" which is not desired. It should only return "ok" if there is no swap space configured at all. | |||||
2015-10-04 | use unknown exit code for help/version in plugins | Sven Nierlein | 1 | -2/+2 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2014-10-19 | Improving output when swap space has zero size | Jan Wagner | 1 | -0/+1 | |
2014-10-19 | check_swap - fix comment | Davide Madrisan | 1 | -1/+1 | |
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> | |||||
2014-02-20 | check_swap: Fix the plugin name that appears in the comment | Davide Madrisan | 1 | -1/+1 | |
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com> | |||||
2014-01-29 | Update check_swap usage | Thomas Guyot-Sionnest | 1 | -3/+4 | |
2014-01-29 | check_swap: add supports for a configurable state when there is no swap | Thomas Guyot-Sionnest | 1 | -2/+13 | |
Check_swap used to allow no swap when thresholds were only specified in percent. This is no longer the case and the state now must be specified explicitly. The default is to always return CRITICAL when the swap is absent regardless of thresholds. | |||||
2014-01-29 | Fix check_swap returning OK on & thresholds and no swap | Thomas Guyot-Sionnest | 1 | -1/+1 | |
Return 0% free instead of 100% free when total swap is 0 | |||||
2014-01-20 | Capitalize "Monitoring" when it's the first word | Holger Weiss | 1 | -1/+1 | |
2014-01-19 | Project rename initial commit. | Monitoring Plugins Development Team | 1 | -3/+3 | |
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline. | |||||
2012-06-29 | Die when asprintf fails | Anders Kaseorg | 1 | -8/+8 | |
Fixes many instances of warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Anders Kaseorg <andersk@mit.edu> | |||||
2010-04-22 | Add newline after "Usage:" in --help | Thomas Guyot-Sionnest | 1 | -1/+1 | |
2010-04-21 | Standardize the extra-opts notes | Thomas Guyot-Sionnest | 1 | -5/+0 | |
2010-04-14 | Fix translations when extra-opts aren't enabled | Thomas Guyot-Sionnest | 1 | -5/+5 | |
Bug #2832884 reported problem with translations outputting pot file headers. This is caused by "" matching the header of the translation files. This patch moves gettext macros inside utils macros and update some french translations. | |||||
2008-11-23 | Removing CVS/SVN tags and replacing with git-based versioning | Thomas Guyot-Sionnest | 1 | -6/+2 | |
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c |