Update install-dsmon.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user