BTS ping check: give it more time

This commit is contained in:
Keith Whyte 2021-06-10 10:31:16 +02:00
parent 9fdab8b69c
commit 3a1bea12d6

View file

@ -6,7 +6,7 @@ RHIZO_SCRIPT="/home/rhizomatica/bin"
$RHIZO_SCRIPT/monitor_amp.sh $RHIZO_SCRIPT/monitor_amp.sh
for bts in "${BTS[@]}" ; do 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 if [ $? == 1 ] ; then
/usr/local/bin/alert.sh "$HOSTNAME: BTS $bts not responding to ping" > /dev/null /usr/local/bin/alert.sh "$HOSTNAME: BTS $bts not responding to ping" > /dev/null
fi fi