BTS ping check: give it more time
This commit is contained in:
parent
9fdab8b69c
commit
3a1bea12d6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue