summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_icmp.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-15 09:55:08 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-10-15 09:55:08 (GMT)
commit85f2e32e276ff92110f56828ac82b28007c72236 (patch)
tree06833330dd31c602185ec2e2e913e65e4e6c0a5c /plugins-root/check_icmp.c
parent0caa47a50bae586173f40ca7544d4290de0097a5 (diff)
downloadmonitoring-plugins-85f2e32e276ff92110f56828ac82b28007c72236.tar.gz
check_icmp: Declare internal variables static
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r--plugins-root/check_icmp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 5ad1d84..d7e6ca2 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -247,14 +247,14 @@ static struct timeval prog_start;
247static unsigned long long max_completion_time = 0; 247static unsigned long long max_completion_time = 0;
248static unsigned int warn_down = 1, crit_down = 1; /* host down threshold values */ 248static unsigned int warn_down = 1, crit_down = 1; /* host down threshold values */
249static int min_hosts_alive = -1; 249static int min_hosts_alive = -1;
250float pkt_backoff_factor = 1.5; 250static float pkt_backoff_factor = 1.5;
251float target_backoff_factor = 1.5; 251static float target_backoff_factor = 1.5;
252bool rta_mode = false; 252static bool rta_mode = false;
253bool pl_mode = false; 253static bool pl_mode = false;
254bool jitter_mode = false; 254static bool jitter_mode = false;
255bool score_mode = false; 255static bool score_mode = false;
256bool mos_mode = false; 256static bool mos_mode = false;
257bool order_mode = false; 257static bool order_mode = false;
258 258
259/** code start **/ 259/** code start **/
260static void crash(const char *fmt, ...) { 260static void crash(const char *fmt, ...) {