Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-06-23 | check_icmp: Add missing line ending in help | Lorenz Kästle | 1 | -1/+1 | |
2025-06-23 | check_icmp: trigger help before anything important | Lorenz Kästle | 1 | -4/+6 | |
2025-06-23 | check_icmp: add long options to help | Lorenz Kästle | 1 | -27/+31 | |
2025-06-23 | check_icmp: remove dead comment | Lorenz Kästle | 1 | -8/+0 | |
2025-06-23 | check_icmp: remove unnecessary variable | Lorenz Kästle | 1 | -2/+1 | |
2025-06-23 | check_icmp: correct output strings | Lorenz Kästle | 1 | -12/+12 | |
2025-06-23 | check_icmp: remove paket_interval, was never used anyway | Lorenz Kästle | 1 | -51/+37 | |
2025-06-23 | Fix typo | Lorenz Kästle | 1 | -1/+1 | |
2025-06-23 | check_icmp: cleanup some leftover comments | Lorenz Kästle | 1 | -22/+1 | |
2025-06-23 | check_icmp: add long options, add output format option | Lorenz Kästle | 1 | -2/+50 | |
This commit switches check_icmp from getopt to getopt_long to provide long options too and (most importantly) homogenize option parsing between the different plugins. | |||||
2025-06-23 | Improve check_icmp help output | Lorenz Kästle | 1 | -29/+19 | |
2025-06-20 | check_icmp: Remove signal handling and timeouts | Lorenz Kästle | 1 | -17/+1 | |
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. | |||||
2025-06-19 | Override state with min_hosts_alive | Lorenz Kästle | 1 | -25/+14 | |
2025-06-19 | Reintroduce min_hosts_alive | Lorenz Kästle | 1 | -2/+22 | |
2025-06-17 | Fix possible multiplication overflow? | Lorenz Kästle | 1 | -1/+1 | |
2025-06-17 | Improve error detection for threshold parsers | Lorenz Kästle | 1 | -34/+64 | |
2025-05-18 | Format specifier fixes | Lorenz Kästle | 1 | -6/+6 | |
2025-05-18 | some more fixes | Lorenz Kästle | 1 | -7/+8 | |
2025-05-18 | Fix typos | Lorenz Kästle | 1 | -3/+2 | |
2025-05-18 | Some more fixes | Lorenz Kästle | 1 | -27/+26 | |
2025-05-18 | WIP - check_icmp refactor 8 | Lorenz Kästle | 1 | -201/+304 | |
2025-05-18 | WIP - check_icmp refactor 7 | Lorenz Kästle | 1 | -85/+108 | |
2025-05-18 | Clang-format | Lorenz Kästle | 1 | -13/+12 | |
2025-05-17 | WIP - check_icmp refactor 6 | Lorenz Kästle | 1 | -359/+345 | |
2025-05-16 | WIP - check_icmp refactor 5 | Lorenz Kästle | 1 | -11/+16 | |
2025-05-06 | WIP - check_icmp refactor 4 | Lorenz Kästle | 1 | -73/+147 | |
2025-05-05 | WIP - check_icmp refactor 3 | Lorenz Kästle | 1 | -75/+75 | |
2025-05-04 | WIP - check_icmp refactor 2 | Lorenz Kästle | 1 | -338/+386 | |
2025-04-28 | WIP: check_icmp refactor | Lorenz Kästle | 1 | -628/+659 | |
2025-04-02 | check_icmp: localise variables | Lorenz Kästle | 1 | -119/+89 | |
2025-04-02 | check_icmp: linter fixes | Lorenz Kästle | 1 | -57/+74 | |
2024-11-28 | check_icmp: set rtmin initially | Lorenz Kästle | 1 | -1/+3 | |
2024-11-28 | check_icmp: Add some lines to introduce some readability | Lorenz Kästle | 1 | -1/+10 | |
2024-11-28 | check_icmp: clang-format | Lorenz Kästle | 1 | -106/+188 | |
2024-10-30 | check_icmp: Apply clang-format again | Lorenz Kästle | 1 | -25/+34 | |
2024-10-16 | check_icmp: clang-format | RincewindsHat | 1 | -1/+7 | |
2024-10-15 | check_icmp: Update copyright | RincewindsHat | 1 | -2/+2 | |
2024-10-15 | check_icmp: Properly mark function with void input | RincewindsHat | 1 | -1/+1 | |
2024-10-15 | check_icmp: Declare internal variables static | RincewindsHat | 1 | -8/+8 | |
2024-10-15 | check_icmp: clang-format | RincewindsHat | 1 | -783/+742 | |
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 | |