Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-10-06 | Change function type of get_thresholds to better reflect the options and ↵ | RincewindsHat | 1 | -7/+14 | |
describe it in general | |||||
2023-10-06 | Update comment | RincewindsHat | 1 | -2/+2 | |
2023-10-06 | Refactor get_threshold2 to be barely understandable | RincewindsHat | 1 | -35/+65 | |
2023-10-06 | check malloc | Danijel Tasov | 1 | -0/+4 | |
2023-10-06 | do not introduce new ints as bools | Danijel Tasov | 1 | -14/+16 | |
2023-10-04 | Merge branch 'master' into merge-jitter | datamuc | 1 | -340/+331 | |
2023-10-04 | unnecessary space | Danijel Tasov | 1 | -1/+1 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-10-04 | readability improvements | Danijel Tasov | 1 | -3/+21 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-10-04 | remove sun ifdef | Danijel Tasov | 1 | -5/+0 | |
my be readded later with proper comments Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-10-04 | add some basic tests for the new modes | Danijel Tasov | 1 | -1/+47 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-10-04 | update failure regex | Danijel Tasov | 1 | -1/+1 | |
2023-10-04 | fix host count on when checking multiple hosts | Danijel Tasov | 1 | -21/+24 | |
2023-10-04 | adjust check_icmp tests | Danijel Tasov | 2 | -6/+6 | |
2023-10-01 | Update copyright | RincewindsHat | 1 | -1/+1 | |
2023-10-01 | Remove trailing lines | RincewindsHat | 1 | -3/+0 | |
2023-10-01 | Comment some endifs to make comprehension easier | RincewindsHat | 1 | -2/+3 | |
2023-10-01 | Use real booleans | RincewindsHat | 1 | -17/+14 | |
2023-10-01 | Homogenize whitespace usage | RincewindsHat | 1 | -305/+305 | |
2023-10-01 | Remove unnecessary type defines | RincewindsHat | 1 | -20/+16 | |
2023-09-28 | update-po | Danijel Tasov | 1 | -1/+1 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-27 | cleanup more merge debris | Danijel Tasov | 1 | -8/+3 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-26 | Add some spaces to the output | Danijel Tasov | 1 | -19/+19 | |
needed if multiple modes are used at once Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-26 | fixed comment | Danijel Tasov | 1 | -1/+1 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-25 | Fix speling | Danijel Tasov | 1 | -1/+1 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-25 | Fix compile errors | Danijel Tasov | 1 | -8/+6 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-25 | exit UNKNOWN on -V | Danijel Tasov | 1 | -1/+1 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-23 | fix merge error | Danijel Tasov | 1 | -1/+0 | |
Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-09-23 | Merge branch 'jitter-orig' into merge-jitter | Danijel Tasov | 1 | -31/+377 | |
2023-09-23 | remove root check | Danijel Tasov | 1 | -3/+0 | |
We can perfectly do icmp without root by using capabalities. So, instead of doing unsufficient checks beforehand, we just try and fail if it doesn't work. Signed-off-by: Danijel Tasov <m@rbfh.de> | |||||
2023-06-28 | Merge branch 'master' into compiler_warning_part_2 | waja | 1 | -4/+0 | |
2023-04-18 | Refix spelling issues | RincewindsHat | 1 | -1/+1 | |
2023-04-18 | Fixes for -Wuninitialized | RincewindsHat | 1 | -0/+1 | |
2023-04-18 | Fixes for -Wunused-parameters | RincewindsHat | 2 | -6/+10 | |
2023-04-18 | Fixes for -Wunused | RincewindsHat | 1 | -4/+0 | |
* lib/utils_base.c * plugins/check_curl.c * plugins-root/check_dhcp.c Removed a line which theoretically can not do anything, but there was comment which indicated something else. Still trying this though. | |||||
2023-04-14 | Fix a lot of typos reported by codespell | Jan Wagner | 3 | -3/+3 | |
2023-02-19 | Merge branch 'master' into check_icmp_cleanup | RincewindsHat | 2 | -9/+9 | |
2023-02-19 | check_icmp: Fix compiler warning | RincewindsHat | 1 | -1/+1 | |
This fixes a compiler warning which complains about an uninitialized value for a variable which is then returned. This had no real world impact, since the program would crash in the branch where result is not set. The variable is initialized to "-1" which would be the error for inet_pton. | |||||
2023-02-19 | check_icmp: Fix compiler warning | RincewindsHat | 1 | -2/+3 | |
This fixes a compiler warning with no real world impact. The compiler complains about a missing return, which is correct, but in that scenario the program would crash anyways, so this has no impact. | |||||
2023-02-01 | Link plugins against libcrypto to make hashes available | Lorenz Kästle | 1 | -1/+1 | |
2022-11-29 | check_icmp: fix parsing help/version long options | Aksel Sjögren | 1 | -8/+8 | |
Fix parsing of the long options --help and --version. The special handling must be done before calling getopt(). This fixes erroneous output like: ./check_icmp --version ./check_icmp: invalid option -- '-' ./check_icmp: invalid option -- 'e' ./check_icmp: invalid option -- 'r' ./check_icmp: invalid option -- '-' ./check_icmp: invalid option -- 'e' ./check_icmp: invalid option -- 'r' Signed-off-by: Aksel Sjögren <asjogren@itrsgroup.com> | |||||
2022-11-04 | Replace DBL_MAX with INFITY to check if value was set | RincewindsHat | 1 | -2/+3 | |
2022-11-04 | Remove hardcoded DBL_MAX definition | RincewindsHat | 1 | -4/+0 | |
2022-11-04 | Remove trailing whitespaces | RincewindsHat | 1 | -12/+12 | |
2022-07-14 | Set msg_namelen to the size of the sockaddr struct for the appropriate ↵ | eriksejr | 1 | -4/+8 | |
address family and not sockaddr_storage (#1771) Co-authored-by: Erik Sejr <eriks@ssimicro.com> Co-authored-by: Lorenz <12514511+RincewindsHat@users.noreply.github.com> | |||||
2022-03-15 | check_icmp: buffer offerflow (#1733) | Lorenz | 2 | -30/+43 | |
* Fix different overflows * Less includes * Add testcases * Remove unused variable * Remove unused and commented includes | |||||
2022-01-29 | - delay set_source_ip() until address_family is detected | ghciv6 | 2 | -2/+11 | |
- add a test to check '-s' | |||||
2021-11-24 | More wrong printf formatting | RincewindsHat | 1 | -2/+2 | |
2021-11-24 | Fix CodeQL checks | RincewindsHat | 1 | -2/+2 | |
2021-11-15 | check_icmp: Fix pkt perfdata in check_host mode | Aksel Sjögren | 1 | -1/+1 | |
Add missing "warn" threshold field in "pkt" perfdata output. Perfdata should be interpreted as; 'label'=value[UOM];[warn];[crit];[min];[max] With one field missing, the hardcoded min value '0' ended up in the "crit" field, making applications interpreting the perfdata thining that critical threshold is always exceeded. Signed-off-by: Aksel Sjögren <asjogren@itrsgroup.com> | |||||
2021-04-30 | Fix check_dhcp tests | Aksel Sjögren | 1 | -2/+7 | |
* try to use "/usr/sbin/ip" before "ifconfig" since the latter is obsolete on Linux to figure out interface to listen for DHCP messages. But keeping ifconfig method just in case. Without this, tests fail on boxes without ifconfig AND the correct interface named ethX. * amend possible failure responses, as check_dhcp might get a DHCPOFFER, but from an unexpected address - which happens if the box running tests are on a network with a DHCP server. |