Re: Sending messages through Lotus Notes to an email address
2001-02-13 15:26:59
Subject: |
Re: Sending messages through Lotus Notes to an email address |
From: |
George Lesho <glesho AT AFCE DOT COM> |
Date: |
Tue, 13 Feb 2001 14:29:17 -0600 |
Steve - Run your backup from a script and have the script executing by making
the schedule action=cmd. Here is a
sample from the script that runs executes backup agent (dtibackup). You could
also use your TSM commands as easily.
Hope this is what you are looking for:
~~~~~~~~~~
ADMIN="lesho AT atlcorphub.afce DOT com"
........snip......
if dtibackup -level ${LEVEL} -quiet -noprompt -debug -debugfile
/tmp/dbg.dmartbkup -to adsm.bkdmart >${NULL}
then
end=$(date +"%y%m%d.%H%M")
echo "Backup of ${APPLICATION} was Successful [${end}]" >>${LOG}
ret=0
else
end=$(date +"%y%m%d.%H%M")
echo "Backup of ${APPLICATION} Failed [${end}]" >>${LOG}
MSG="The Backup of ${APPLICATION} instance of Informix"
MSG="${MSG} on ${HOSTNAME} has Failed..."
echo "${MSG}" | mailx -s "Informix ${APPLICATION} problem" ${ADMIN}
ret=1
........snip.......
~~~~~~~~~
Steve Hicks <shicks AT KUB DOT ORG> on 02/13/2001 11:26:08 AM
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc: (bcc: George Lesho/Partners/AFC)
Fax to:
Subject: Sending messages through Lotus Notes to an email address
How would I send specific events (i.e. failed scheduled events, db backup
failure, etc.) through Notes or sendmail to an e-mail address? I'm running
the TSM sever on AIX 4.3.3.
Steve
|
|
|