cancel
Showing results for 
Search instead for 
Did you mean: 

Netbackup and Email

vincent_monbaro
Level 3

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

1 ACCEPTED SOLUTION

Accepted Solutions

vincent_monbaro
Level 3
Ok perfket I try this !

View solution in original post

10 REPLIES 10

Karthikeyan_Sun
Level 6

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 !

 

vincent_monbaro
Level 3
Ok perfket I try this !

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

Karthikeyan_Sun
Level 6
you have configure your email id in backup_exit_notify.cmd

Karthikeyan_Sun
Level 6
you have to configure your email id in backup_exit_notify.cmd

vincent_monbaro
Level 3

@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_Sun
Level 6

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

 

Lucy
Level 3
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_monbaro
Level 3
Ok perfekt !!!! that's work !!!!

David_McMullin
Level 6

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