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,5 +1,6 @@
#!/bin/bash
. ./vars.sh
RHIZO_SCRIPT="/home/rhizomatica/bin"
. $RHIZO_SCRIPT/vars.sh
LOGFILE="/var/log/monitor_amp.log"
$RHIZO_SCRIPT/check_amp_status.sh | grep -q OFF