11-20-2008 03:46 AM
Hello,
Just a little stupid question about email notification.
How can I configure to receive a email when a windows job a finished (with or without problem)
Thank you for your help
Solved! Go to Solution.
11-20-2008 07:51 AM
11-20-2008 04:28 AM
U can configure BLAT!
Download Blat from: http://www.blat.net/
To Configure Blat in Veritas for Mail Notifications: http://seer.support.veritas.com/docs/254809.htm
Let me know if you have any more clarification !
11-20-2008 07:51 AM
11-20-2008 08:22 AM
11-20-2008 08:36 AM
11-20-2008 08:37 AM
11-20-2008 08:43 AM
@REM - might want to mail this info to someone
@REM -
@REM - @call %NB_MAIL_SCRIPT% someone_who_cares "NetBackup backup exit" %OUTF%
In this section ?
Thanks !
11-20-2008 08:47 AM
Actual Lines:
@REM ---------------------------------------------------------------------------
@REM - might want to mail this info to someone
@REM -
@REM - @call %NB_MAIL_SCRIPT% someone_who_cares "NetBackup backup exit" %OUTF%
@REM ---------------------------------------------------------------------------
Edited Lines:
@REM ---------------------------------------------------------------------------
@REM - might want to mail this info to someone
@call %NB_MAIL_SCRIPT% karthikeyan@domain.com "NetBackup backup exit" %OUTF%
@REM---------------------------------------------------------------------------
11-20-2008 11:28 AM
11-20-2008 11:51 PM
11-21-2008 07:07 AM
We added these lines in the "netbackup/bin/backup_exit_notify"(NOTE- upgrades overwrite this, so make a copy!) to send to the appropriate admin as well as OPS.
if [ $5 != 0 -a $5 != 1 ]
then
if /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep MS-Window
then
cat $OUTF | mailx -s "WINDOWS NetBackup Error Status $5, Policy $2, Client $1" \
OPS@company.com WINDOWADMIN@company.com
elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep MS-Exchange
then
cat $OUTF | mailx -s "EXCHANGE NetBackup Error Status $5, Policy $2, Client $1" \
OPS@company.com WINDOWADMIN@company.com
elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep MS-SQL
then
cat $OUTF | mailx -s "MS-SQL NetBackup Error Status $5, Policy $2, Client $1" \
OPS@company.com SQLADMIN@company.com
elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep Oracle
then
cat $OUTF | mailx -s "ORACLE NetBackup Error Status $5, Policy $2, Client $1" \
OPS@company.com ORACLEADMIN@company.com
elif /usr/openv/netbackup/bin/admincmd/bppllist $2 -U | grep "Policy Type" | grep Sybase
then
cat $OUTF | mailx -s "SYBASE NetBackup Error Status $5, Policy $2, Client $1" \
OPS@company.com SYBASEADMIN@company.com
else
cat $OUTF | mailx -s "UNIX NetBackup Error Status $5, Policy $2, Client $1" \
OPS@company.com UNIXADMIN@company.com
fi
fi