summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_icmp.d/check_icmp_helpers.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-06-20 10:04:34 +0200
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-06-20 10:04:34 +0200
commit2bea8e9522af1c454d1a6a618402f9f342730406 (patch)
treeea18c8e0cefd18ab3694540a321811e62ff8adac /plugins-root/check_icmp.d/check_icmp_helpers.h
parent20e938bb542d361ad1468ab24330f554445aefb1 (diff)
downloadmonitoring-plugins-2bea8e9522af1c454d1a6a618402f9f342730406.tar.gz
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.
Diffstat (limited to 'plugins-root/check_icmp.d/check_icmp_helpers.h')
-rw-r--r--plugins-root/check_icmp.d/check_icmp_helpers.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.d/check_icmp_helpers.h b/plugins-root/check_icmp.d/check_icmp_helpers.h
index 1b9372ce..dc6ea40b 100644
--- a/plugins-root/check_icmp.d/check_icmp_helpers.h
+++ b/plugins-root/check_icmp.d/check_icmp_helpers.h
@@ -66,5 +66,3 @@ typedef struct {
66 66
67ping_target_create_wrapper ping_target_create(struct sockaddr_storage address); 67ping_target_create_wrapper ping_target_create(struct sockaddr_storage address);
68unsigned int ping_target_list_append(ping_target *list, ping_target *elem); 68unsigned int ping_target_list_append(ping_target *list, ping_target *elem);
69
70void check_icmp_timeout_handler(int, siginfo_t *, void *);