puppet/modules/rhizomatica_base_system/files/bin/check_amp_status.sh
2015-02-16 14:24:42 -06:00

7 lines
203 B
Bash
Executable file

#!/bin/sh
# Check for AMP status on each BTS, from BTS1 up to BTS3
. ./vars.sh
for bts in $BTS1 $BTS2 $BTS3; do
echo "BTS $bts:";
ssh root@$bts sbts2050-util sbts2050-pwr-status | grep Amp;
done