Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-01 | check_icmp: keep performance data order in case of none-reachable hosts | Sven Nierlein | 1 | -30/+50 | |
For responding hosts nothing changes: ./check_icmp -H 10.0.0.1 OK - 10.0.0.1 rta 0.336ms lost 0%|rta=0.336ms;200.000;500.000;0; rtmax=0.471ms;;;; rtmin=0.000ms;;;; pl=0%;40;80;0;100 In case the host is down, the performance data now contain 'U' according to: https://www.monitoring-plugins.org/doc/guidelines.html#AEN201 Old: ./check_icmp -H 10.0.0.99 CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|pl=100%;40;80;0;100 Old: ./check_icmp -H 10.0.0.99 CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|rta=U;;;; rtmax=U;;;; rtmin=U;;;; pl=100%;40;80;0;100 This confuses some performance graphing tools, ex.: pnp. Signed-off-by: Sven Nierlein <sven@consol.de> | |||||
2023-10-13 | Fix spelling stuff | RincewindsHat | 1 | -1/+1 | |
2023-10-13 | Add some more comments about the MOS score | RincewindsHat | 1 | -0/+22 | |
2023-10-09 | Even more code formatting and cleanup | RincewindsHat | 1 | -21/+26 | |
2023-10-09 | Do some more formatting | RincewindsHat | 1 | -107/+107 | |
2023-10-09 | Remove preprocessor macro | RincewindsHat | 1 | -6/+5 | |
2023-10-09 | Do some code formatting | RincewindsHat | 1 | -16/+17 | |
2023-10-09 | More consequent booleans | RincewindsHat | 1 | -2/+2 | |
2023-10-08 | fix unused variables compiler warning | RincewindsHat | 1 | -0/+2 | |
2023-10-08 | fix sign compare compiler warnings | RincewindsHat | 1 | -2/+2 | |
2023-10-08 | Initialise threshold variables properly | RincewindsHat | 1 | -1/+16 | |
2023-10-07 | Fix typo | RincewindsHat | 1 | -1/+1 | |
2023-10-07 | Refactor new threshold parser | RincewindsHat | 1 | -37/+45 | |
2023-10-07 | Do some actual error checking on the threshold parser | RincewindsHat | 1 | -6/+32 | |
2023-10-06 | Remove useless return after crash | RincewindsHat | 1 | -1/+0 | |
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 | 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 | fix host count on when checking multiple hosts | Danijel Tasov | 1 | -21/+24 | |
2023-10-04 | adjust check_icmp tests | Danijel Tasov | 1 | -1/+1 | |
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-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 | 1 | -0/+4 | |
2023-04-14 | Fix a lot of typos reported by codespell | Jan Wagner | 1 | -1/+1 | |
2023-02-19 | Merge branch 'master' into check_icmp_cleanup | RincewindsHat | 1 | -8/+8 | |
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. | |||||
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 | 1 | -29/+37 | |
* 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 | 1 | -1/+4 | |
- add a test to check '-s' | |||||
2021-11-24 | More wrong printf formatting | RincewindsHat | 1 | -2/+2 | |