Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Netbackup and Email

Updated: 21 May 2010 | 10 comments
vincent.monbaron's picture
0 0 Votes
Login to vote
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

Comments

Karthikeyan Sundaram's picture
20
Nov
2008
0 Votes 0
Login to vote

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.

vincent.monbaron's picture
20
Nov
2008
0 Votes 0
Login to vote

Ok perfket I try this !

vincent.monbaron's picture
20
Nov
2008
0 Votes 0
Login to vote

That's works but only with catalog after the job not for the job...any idea ?

Karthikeyan Sundaram's picture
20
Nov
2008
0 Votes 0
Login to vote

you have configure your email id in backup_exit_notify.cmd

Thanks, Karthikeyan Sundaram.

Karthikeyan Sundaram's picture
20
Nov
2008
0 Votes 0
Login to vote

you have to configure your email id in backup_exit_notify.cmd

Thanks, Karthikeyan Sundaram.

vincent.monbaron's picture
20
Nov
2008
0 Votes 0
Login to vote

@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 ! 

Message Edited by vincent.monbaron on 11-20-2008 08:44 AM
Karthikeyan Sundaram's picture
20
Nov
2008
0 Votes 0
Login to vote

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.

Lucy's picture
20
Nov
2008
0 Votes 0
Login to vote

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.

vincent.monbaron's picture
21
Nov
2008
0 Votes 0
Login to vote

Ok perfekt !!!! that's work !!!!

David McMullin's picture
21
Nov
2008
0 Votes 0
Login to vote

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