puppet/modules/rhizo_base/files/bin/check_amp_status.sh

9 lines
257 B
Bash
Executable file

#!/bin/bash
# Check for AMP status on each BTS, from BTS1 up to BTS3
RHIZO_SCRIPT="/home/rhizomatica/bin"
. $RHIZO_SCRIPT/vars.sh
for bts in "${BTS_MASTER[@]}" ; do
echo "BTS $bts:";
ssh root@$bts sbts2050-util sbts2050-pwr-status | grep Amp;
done