Update 'nodemgmt-scripts.sh'
This commit is contained in:
4
nodemgmt-scripts.sh
Executable file → Normal file
4
nodemgmt-scripts.sh
Executable file → Normal file
@@ -687,7 +687,7 @@ CHECK-CERTS(){
|
||||
if [ "${STATUS_CHECK_EMAIL}" != "" ]; then
|
||||
SSLLOG="$(cat ${FOLDER}/ssl-cert-check.lastrun)"
|
||||
echo "SSL Certs Check\n\n$SSLLOG" | mail -s "SSL Certs Check" david@schroedercity.com
|
||||
echo "SSL Certs Check\n\n$SSLLOG" | mail -s "SSL Certs Check" 9208839613@vzwpix.com
|
||||
echo "SSL Certs Check\n\n$SSLLOG" | mail -s "SSL Certs Check" 9208839613@mms.att.net
|
||||
fi
|
||||
|
||||
else
|
||||
@@ -1755,7 +1755,7 @@ if [ ${action-x} ]; then
|
||||
if [ "${3}" = "email" ] && [ "${STATUS_CHECK_EMAIL}" != "" ]; then
|
||||
STATUSLOG="$(cat ${FOLDER}/status-check.lastrun)"
|
||||
echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com
|
||||
echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" 9208839613@vzwpix.com
|
||||
echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" 9208839613@mms.att.net
|
||||
fi
|
||||
else
|
||||
STATUS ${2}
|
||||
|
||||
Reference in New Issue
Block a user