Netbackup and Email
Updated: 21 May 2010 | 10 comments
This issue has been solved. See solution.
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
Discussion Filed Under:
Comments
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 !
Thanks, Karthikeyan Sundaram.
Ok perfket I try this !
That's works but only with catalog after the job not for the job...any idea ?
you have configure your email id in backup_exit_notify.cmd
Thanks, Karthikeyan Sundaram.
you have to configure your email id in backup_exit_notify.cmd
Thanks, Karthikeyan Sundaram.
@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 !
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---------------------------------------------------------------------------
Thanks, Karthikeyan Sundaram.
Thanks for the info. I have this working as well but am receiving notifications for Status 1 (open files) too. Is there a way to only receive notifications for anything other than Status 0 or Status 1 as I seem to have a lot of open files. Thanks.
Ok perfekt !!!! that's work !!!!
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
NBU 7.0.1 on Solaris 10
writing to EMC 4206 VTL
duplicating to LTO2 in SL8500
(Soon to be LTO5)
using ACSLS 7.3.1
Would you like to reply?
Login or Register to post your comment.