Update install-dsmon.sh

This commit is contained in:
2021-10-03 10:05:29 -05:00
parent 32529246e7
commit 55fb80092e

View File

@@ -38,7 +38,7 @@ echo -e "${idsCL[Yellow]}Sending test Alert... ${idsCL[Default]}"
echo "Test Alert" | mail -r DSMon-$(hostname -s)@scity.us -s "Test" $SET_ALERTEMAIL
echo -e "${idsCL[Yellow]}Adding task to crontab... ${idsCL[Default]}"
(crontab -l ; echo "* */3 * * * /opt/idssys/dsmon/diskspace.sh")| crontab -
(crontab -l ; echo "* */3 * * * /usr/local/bin/dsmon")| crontab -
echo -e "THRESHOLD=$SET_THRESHOLD
ALERT_EMAIL=$SET_ALERTEMAIL