Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-09-30 | check_disk: Use regex also to include fs types | Lorenz Kästle | 1 | -3/+7 | |
2023-09-28 | check_disk: make -X a regex list | Alexander A. Klimov | 1 | -7/+11 | |
2023-09-21 | Add -C to general usage hints | Lorenz Kästle | 1 | -1/+1 | |
2023-09-21 | check_disk: Add some general usage hints | RincewindsHat | 1 | -0/+8 | |
2023-09-21 | check_disk: More spacing to separate examples | RincewindsHat | 1 | -2/+2 | |
2023-09-21 | check_disk: Mention -A and long options in error message about missing ↵ | RincewindsHat | 1 | -1/+1 | |
thresholds | |||||
2023-09-21 | check_disk: Fix printf format string | RincewindsHat | 1 | -1/+1 | |
2023-09-12 | check_disk: Remove some dead variables | RincewindsHat | 1 | -4/+1 | |
2023-05-26 | check_disk: Display SI units correctly | RincewindsHat | 1 | -6/+21 | |
2023-04-14 | Fix a lot of typos reported by codespell | Jan Wagner | 1 | -3/+3 | |
2023-03-06 | check_disk: use cleaner code for ignore-missing option | Kristian Schuster | 1 | -18/+16 | |
- use datatype bool for new vars ignore_missing and path_ignored instead of int - directly initialize preamble and ignored_preamble with their strings | |||||
2023-02-20 | check_disk: fix ugly output with -e option and adapt tests accordingly | Kristian Schuster | 1 | -5/+5 | |
2023-02-19 | Merge remote-tracking branch 'origin/master' into ↵ | Kristian Schuster | 1 | -2/+2 | |
feature_check_disk_add_ignore_missing_option | |||||
2023-02-19 | check_disk: still allow check of available disks with ignore-missing param used | Kristian Schuster | 1 | -25/+78 | |
Also add reporting of ignored paths. When paths are provided by -p and/ or -r and one path does not match a mounted disk, checking available disks is still possible. Paths provided by -p are reported as ignored, when not available. Due to code structure, this is not possible for -r unfortunately. | |||||
2023-02-01 | check_disk: Remove weird code (workaround?) which broke with gnulib update | Lorenz Kästle | 1 | -1/+1 | |
2023-01-20 | check_disk: Clarify usage possibilites (#1745) | Lorenz | 1 | -1/+1 | |
* Clarify usage possibilites of check_disk * Remove superfluous newlines Co-authored-by: waja <waja@users.noreply.github.com> | |||||
2022-10-24 | check_disk: add ignore-missing option to return OK for missing fs | Kristian Schuster | 1 | -5/+24 | |
There a situations where UNKNOWN or CRITICAL services are not wanted when a filesystem is missing, a regex does not match or the filesystem is inaccessible on a system. This new option helps to have the service in state OK. | |||||
2022-09-11 | Check disk compiler warnings (#1758) | Lorenz | 1 | -59/+8 | |
* Use unused variable * Proper format strings for printf * Use proper functions for absolute values * Remove and add comments at some places | |||||
2022-01-30 | Description for -M was the wrong way around (#1746) | Lorenz | 1 | -1/+1 | |
Using -M should show the mountpoint instead of the device the file system originated from. Seems like this was not the case for a long time and now the default is to show the mount point. Using `-M` reverts to showing the (block) device instead. The usage Description was adjusted with this commit. | |||||
2022-01-22 | Trivial printf fix and a little bit of code style (#1695) | Lorenz | 1 | -2/+4 | |
* Fix several warnings (and some downright bugs probably) with formating in check_disk Update to master * Fix merge error, I forgot the last time * Fix indentation Co-authored-by: rincewind <rincewind@vulgrim.de> | |||||
2021-11-24 | More wrong printf formatting | RincewindsHat | 1 | -2/+2 | |
2021-11-24 | Fix CodeQL checks | RincewindsHat | 1 | -6/+10 | |
2021-10-27 | Replace tabs with spaces and do some formatting | RincewindsHat | 1 | -55/+54 | |
2021-10-27 | Remove whitespace at the end of lines | RincewindsHat | 1 | -17/+17 | |
2021-10-26 | Reform some arithmetical operations for more clarity | RincewindsHat | 1 | -7/+9 | |
2021-10-26 | hopefully fix warning high tide with percentage | RincewindsHat | 1 | -1/+1 | |
2021-10-26 | Switch to uint64_t | RincewindsHat | 1 | -13/+11 | |
2021-10-26 | Reformat a little bit for easier reading | RincewindsHat | 1 | -16/+32 | |
2021-10-26 | Recognice IEC binary units and format accordingly to base2 (always) | RincewindsHat | 1 | -12/+15 | |
2021-08-24 | Merge pull request #1388 from waja/check_proc_consumption_1357 | Sven Nierlein | 1 | -4/+1 | |
check_disk: Fixing the stuff that is broken on btrfs | |||||
2019-04-09 | include -P switch in help | Christopher Odenbach | 1 | -0/+2 | |
2018-12-08 | [check_disk] add support to display inodes usage in perfdata | Vincent Danjean | 1 | -3/+47 | |
This is not enabled by default It can be enabled with the -P (--iperfdata) option | |||||
2016-11-21 | Revert "check_disk - show all disks if state is ok and option error only is ↵ | Oliver Skibbe | 1 | -15/+4 | |
used" | |||||
2016-11-19 | Merge pull request #1436 from riskersen/check_disk_iss1420 | Oliver Skibbe | 1 | -4/+15 | |
check_disk - show all disks if state is ok and option error only is used | |||||
2016-11-07 | Merge pull request #1312 from waja/check_disk_remove_unused_variables | Sven Nierlein | 1 | -7/+2 | |
check_disk: remove unused variables | |||||
2016-11-04 | check_disk - show all disks if state is ok and option error only is used | Oliver Skibbe | 1 | -4/+15 | |
This fix changes output of check_disk in case of --error-only/-e option is used and state is ok - Old output: DISK OK - New output: DISK OK - free space: / 159731 MB (83% inode=61%); /dev/shm 2926 MB (100% inode=99%); /boot 58 MB (32% inode=99%); Resolves: #1420 | |||||
2015-10-28 | Fixing the stuff that is broken on btrfs | Klaus Ethgen | 1 | -4/+1 | |
(Closes #1357) | |||||
2015-10-12 | Revert "Don't let check_disk hang on hanging file systems" | Holger Weiss | 1 | -43/+0 | |
This reverts commit 6986aa1d0a352d8d02eed4896034631fffd25a27. That commit leads to issues on non-Linux systems, and it seems to not (always) work as expected on Linux, either. Conflicts: plugins/Makefile.am plugins/check_disk.c Closes #1377 and closes #1329. | |||||
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-12-27 | check_disk: remove unused variables | Sebastian Herbszt | 1 | -7/+2 | |
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> | |||||
2014-11-30 | check_disk: Seperate declarations from code | Holger Weiss | 1 | -0/+1 | |
2014-11-30 | check_disk: Remove unused status variable | Holger Weiss | 1 | -2/+1 | |
We didn't actually use the exit status provided by pthread_join(3) for anything. | |||||
2014-11-28 | check_disk: Fix pthread start routine type | Holger Weiss | 1 | -3/+6 | |
The function pointer passed as third argument to pthread_create(3) must be of type void *(*)(void *). | |||||
2014-11-28 | Don't let check_disk hang on hanging file systems | Gerhard Lausser | 1 | -0/+40 | |
2014-07-29 | check_disk: show troubled partition in verbose mode | Jan Wagner | 1 | -5/+11 | |
I'm submitting a small patch to check_disk that will show which partitions are actually causing the error state. This helps the human operator to quickly identify the exact issue. I made it so a single -v flag is required so it doesn't harm legacy code that may be parsing the original style of output. Thanks to Jason Benguerel. --- Closes #984 Closes #1182 | |||||
2014-04-27 | Make check_disk work on Windows. | Gunnar Beutner | 1 | -1/+20 | |
2014-01-28 | check_disk: precise the help output | Jan Wagner | 1 | -1/+1 | |
Clarifying in the help output that we need either a device or mount point listed by the mount(8) command. (Closes: #1118) (Closes: #1170) | |||||
2014-01-21 | Merge branch 'rename' | Thomas Guyot-Sionnest | 1 | -3/+3 | |
2014-01-21 | plugins/*.c: Non-network timeout changes | Spenser Reinhardt | 1 | -1/+1 | |
Changes to non-network checks for clarity on timeout value. Adapted from pull request #1209 tracker from user awiddersheim. (Closes: #1209) Files: check_apt.c, check_disk.c, check_procs.c, negate.c | |||||
2014-01-21 | plugins/*.c: Alterations for timeout messages. | Spenser Reinhardt | 1 | -1/+1 | |
.c file changes for misleading timeout messages in help functions. Solution to pull request #1209 tracker by awiddersheim. Files: plugins/check_apt.c, plugins/check_by_ssh.c, plugins/check_dbi.c, plugins/check_dig.c, plugins/check_disk.c, plugins/check_dns.c, plugins/check_game.c, plugins/check_http.c, plugins/check_ldap.c, plugins/check_ntp.c, plugins/check_ntp_peer.c, plugins/check_ntp_time.c, plugins/check_nwstat.c, plugins/check_overcr.c, plugins/check_pgsql.c, plugins/check_ping.c, plugins/check_procs.c, plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c, plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c, plugins/negate.c |