From 3a1bea12d6d2e6aa0bbcce9c70644369e9d941f1 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Thu, 10 Jun 2021 10:31:16 +0200 Subject: [PATCH] BTS ping check: give it more time --- modules/rhizo_base/files/bin/monitor_bts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rhizo_base/files/bin/monitor_bts.sh b/modules/rhizo_base/files/bin/monitor_bts.sh index 920371d..a2d9080 100755 --- a/modules/rhizo_base/files/bin/monitor_bts.sh +++ b/modules/rhizo_base/files/bin/monitor_bts.sh @@ -6,7 +6,7 @@ RHIZO_SCRIPT="/home/rhizomatica/bin" $RHIZO_SCRIPT/monitor_amp.sh for bts in "${BTS[@]}" ; do - fping -q -c2 -p50 $bts >/dev/null 2>&1 + fping -q -c5 -p90 $bts >/dev/null 2>&1 if [ $? == 1 ] ; then /usr/local/bin/alert.sh "$HOSTNAME: BTS $bts not responding to ping" > /dev/null fi