summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
6 daysMerge pull request #2125 from RincewindsHat/refactor/check_icmpcoverity/masterLorenz Kästle12-1345/+1990
Refactor check_icmp: - Far less global variables - Proper IPv6/legacy IP dual stack functionality (allowed mixed v4/v6 hosts) - Improved readability/understandability - General cleanup
6 daysFix number of testsLorenz Kästle1-1/+1
6 daysFix test with weird argumentsLorenz Kästle1-1/+1
6 dayscheck_icmp: Remove signal handling and timeoutsLorenz Kästle4-53/+16
The timeout option was redundant in that the runtime of check_icmp was always limited by the input parameters and therefore timeout gets removed with this commit to avoid that confusion. The rest of the signal handlings was removed too, since the added complexity does not provide sufficient returns. If check_icmp gets a signal, it now dies like most other programs instead of trying to save some things and return a (arguably wrong) result.
8 daysOverride state with min_hosts_aliveLorenz Kästle1-25/+14
8 daysImplement flexible state override functionsLorenz Kästle2-24/+90
8 daysReintroduce min_hosts_aliveLorenz Kästle1-2/+22
9 daysFix possible multiplication overflow?Lorenz Kästle1-1/+1
9 daysImprove error detection for threshold parsersLorenz Kästle2-35/+65
2025-06-12Merge pull request #2129 from RincewindsHat/check_fping_5.3_optionsLorenz Kästle3-12/+136
Add fping 5.2 and 5.3 options to check_fping
2025-06-12Remove options if fping version is too low and die directlyLorenz Kästle1-1/+5
2025-06-12Remove unnecessary newlineLorenz Kästle1-1/+0
2025-06-12check_fping: small style improvementLorenz Kästle2-3/+3
2025-06-12Implement new fping options for fping 5.2 and 5.3Lorenz Kästle2-8/+96
fping 5.2 and 5.3 add some new useful command line options which this commit add to check_fping. These are: * --fwmark - sets a firewall mark in the packages to make them identifiable (fping 5.2) * --icmp-timestamp - fping uses ICMP timestamp instead of ICMP Echo (fping 5.2) * --check-source - fping discards replies which originate not from the target address (fping 5.2) The fping release notes describe theses options ( https://github.com/schweikert/fping/releases ) in a little bit more detail. Currently the help display for those options is only shown when fping was available in the appropriate version during compilation.
2025-06-11Implement autoconf logic for fping version detectionLorenz Kästle1-2/+36
2025-06-11Remove unused FPING6 variableLorenz Kästle1-1/+0
2025-06-09Remove check_icmp text regex testsLorenz Kästle1-26/+0
2025-05-18utils: Make fmt function for compilerLorenz Kästle1-1/+1
2025-05-18Format specifier fixesLorenz Kästle1-6/+6
2025-05-18some more fixesLorenz Kästle1-7/+8
2025-05-18Fix typosLorenz Kästle1-3/+2
2025-05-18Some more fixesLorenz Kästle4-32/+31
2025-05-18 WIP - check_icmp refactor 8Lorenz Kästle4-255/+332
2025-05-18 WIP - check_icmp refactor 7Lorenz Kästle1-85/+108
2025-05-18Clang-formatLorenz Kästle2-14/+13
2025-05-17 WIP - check_icmp refactor 6Lorenz Kästle4-383/+360
2025-05-17Lib: Add perfdata for char and unsigned charLorenz Kästle3-1/+13
2025-05-16 WIP - check_icmp refactor 5Lorenz Kästle3-15/+20
2025-05-13Merge pull request #2115 from Firstyear/20250327-use-flags-fpingLorenz Kästle2-22/+18
Improve handling of -4/-6 This changes the handling of `-4`/`-6` flags for check_fping to make it more explicit which IP stack is used in which case. Additionally, the deprecated `fping6` command is removed wholesale and the explicit `-4`/`-6` flags are used instead.
2025-05-09Merge pull request #2124 from monitoring-plugins/fix_check_apt_const_charLorenz Kästle2-2/+2
changed filename in cmd_file_read to const char * (check_apt warning)
2025-05-09changed filename in cmd_file_read to const char * (check_apt warning)Andreas Baumann2-2/+2
2025-05-09Merge branch 'master' into 20250327-use-flags-fpingFirstyear2-2/+2
2025-05-08Merge pull request #2123 from RincewindsHat/fix_do_not_deactivate_v6_in_ciLorenz Kästle2-2/+2
Do not explicitely disable IPv6 in the CI
2025-05-08Do not explicitely disable IPv6 in the CILorenz Kästle2-2/+2
2025-05-07Remove un-needed flagsWilliam2-49/+0
2025-05-07Improve logicWilliam1-7/+41
2025-05-07Harden check with unspecWilliam1-2/+2
2025-05-07Improve handling of -4/-6William1-11/+22
If fping is used with a target that has dual stack v4/v6, then due to the logic during command construction, ipv4 will never be checked as v6 is preferred by fping. This explicitly flags -4/-6 when it is requested by the user.
2025-05-06 WIP - check_icmp refactor 4Lorenz Kästle1-73/+147
2025-05-05 WIP - check_icmp refactor 3Lorenz Kästle3-115/+118
2025-05-04WIP - check_icmp refactor 2Lorenz Kästle4-341/+540
2025-04-28WIP: check_icmp refactorLorenz Kästle4-629/+877
2025-04-27clang-format: reduce line lenght to 100 char, it's easier to readLorenz Kästle1-1/+1
2025-04-21Merge pull request #2118 from waja/check_http_deprecationLorenz Kästle1-0/+10
check_http: Adding deprecation text
2025-04-21check_http: Adding deprecation textJan Wagner1-0/+10
2025-04-21Merge pull request #2119 from waja/CI_fix_fedoraLorenz Kästle1-0/+7
CI: Install gawk on fedora > 41
2025-04-21CI: Install gawk on fedora > 41Jan Wagner1-0/+7
2025-04-02check_icmp: localise variablesLorenz Kästle1-119/+89
2025-04-02check_icmp: linter fixesLorenz Kästle1-57/+74
2025-03-31Merge pull request #2113 from RincewindsHat/refactor/check_diskLorenz Kästle22-1095/+1746
Refactor/check disk