Update install-dsmon.sh
This commit is contained in:
@@ -117,8 +117,8 @@ echo -e "${idsCL[Yellow]}Sending test Alert... ${idsCL[Default]}"
|
|||||||
echo "Test Alert" | mail -r DSMon_$(hostname -s)@scity.us -s "Test" $SET_ALERTEMAIL
|
echo "Test Alert" | mail -r DSMon_$(hostname -s)@scity.us -s "Test" $SET_ALERTEMAIL
|
||||||
|
|
||||||
# echo -e "${idsCL[Yellow]}Adding task to crontab... ${idsCL[Default]}"
|
# echo -e "${idsCL[Yellow]}Adding task to crontab... ${idsCL[Default]}"
|
||||||
# (crontab -l ; echo "$(($RANDOM % 15)) */1 * * * /usr/local/bin/dsmon hdd")| crontab -
|
# (crontab -l ; echo "$(($RANDOM % 15)) */1 * * * /usr/local/bin/dsmon hdd >/dev/null 2>&1")| crontab -
|
||||||
# (crontab -l ; echo "*/5 * * * * /usr/local/bin/dsmon sys")| crontab -
|
# (crontab -l ; echo "*/5 * * * * /usr/local/bin/dsmon sys >/dev/null 2>&1")| crontab -
|
||||||
|
|
||||||
echo -e "
|
echo -e "
|
||||||
ALERT_EMAIL=${SET_ALERTEMAIL}
|
ALERT_EMAIL=${SET_ALERTEMAIL}
|
||||||
|
|||||||
Reference in New Issue
Block a user