Commit graph

16 commits

Author SHA1 Message Date
Lorenz Kästle
811da10fda More refactoring 2025-09-15 15:49:26 +02:00
Lorenz Kästle
802e46f8ea Run clang-format again 2025-09-15 12:59:37 +02:00
Lorenz Kästle
6ac0580a10 check_icmp: Add comment to config 2025-06-23 11:42:25 +02:00
Lorenz Kästle
771ccfa526 check_icmp: remove unnecessary variable 2025-06-23 11:41:24 +02:00
Lorenz Kästle
b08bafc45c check_icmp: remove paket_interval, was never used anyway 2025-06-23 10:52:56 +02:00
Lorenz Kästle
cd20cc0632 check_icmp: add long options, add output format option
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 10:17:28 +02:00
Lorenz Kästle
2bea8e9522 check_icmp: Remove signal handling and timeouts
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-20 10:04:34 +02:00
Lorenz Kästle
f680cd7b88 Improve error detection for threshold parsers 2025-06-17 15:19:30 +02:00
Lorenz Kästle
d92bbaef83 Some more fixes 2025-05-18 18:46:30 +02:00
Lorenz Kästle
b5de682309 WIP - check_icmp refactor 8 2025-05-18 18:10:25 +02:00
Lorenz Kästle
fbcd11acb7 Clang-format 2025-05-18 00:20:36 +02:00
Lorenz Kästle
a01d522c4c WIP - check_icmp refactor 6 2025-05-17 11:49:06 +02:00
Lorenz Kästle
6b86583e0d WIP - check_icmp refactor 5 2025-05-16 12:46:56 +02:00
Lorenz Kästle
5fd8191a50 WIP - check_icmp refactor 3 2025-05-05 22:52:56 +02:00
Lorenz Kästle
5a6adcb7db WIP - check_icmp refactor 2 2025-05-04 01:42:52 +02:00
Lorenz Kästle
eafee9c3f9 WIP: check_icmp refactor 2025-04-28 22:01:01 +02:00