Fix monitoring scripts (again).

This commit is contained in:
Ciaby 2015-02-25 12:26:22 -06:00
parent 55d1b4c1c8
commit c473d9bbe2
4 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
# Check for AMP status on each BTS, from BTS1 up to BTS3
. ./vars.sh
RHIZO_SCRIPT="/home/rhizomatica/bin"
. $RHIZO_SCRIPT/vars.sh
for bts in $BTS1 $BTS2 $BTS3; do
echo "BTS $bts:";
ssh root@$bts sbts2050-util sbts2050-pwr-status | grep Amp;