Veritas-bu

[Veritas-bu] Email people when a job completes or fails

2002-04-23 05:13:39
Subject: [Veritas-bu] Email people when a job completes or fails
From: Simon.WEAVER AT astrium-space DOT com (WEAVER, Simon)
Date: Tue, 23 Apr 2002 10:13:39 +0100
Dave
As mentioned below, this is NT

Simon Weaver
NT Domain Administrator
Ext. 5544
Tel: 02392-705544 (Direct Dial)
Simon.Weaver AT Astrium-Space DOT com

 -----Original Message-----
From:   David Markham [mailto:dave.markham AT icl DOT net] 
Sent:   23 April 2002 09:17:AM
To:     WEAVER, Simon; 'Ang Chip Chiang   NCS'
Cc:     veritas-bu AT mailman.eng.auburn DOT edu
Subject:        RE: [Veritas-bu] Email people when a job completes or fails

Is this for unix or NT?

Its really easy if your server is on unix you just edit
/usr/openv/netbackup/bin/backup_exit_notify and add the line after the
appends to a log file of

/usr/openv/netbackup/bin/goodies/bperrcode $5 >> $OUTF

Dave

-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of WEAVER,
Simon
Sent: 23 April 2002 08:49
To: 'Ang Chip Chiang NCS'
Cc: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Email people when a job completes or fails


Hi,
Thank you for the mail. I am very disappointed.
I am 95% certain that Netbackup Has the functionality to send Emails - am I
right?
Netbackup Datacentre (Its bigger brother!) doesn't have this functionality
to send Emails?

I found a document that says how to use BLAT! But this is madness!

The requirement I am looking for is to send Emails when a Backup Job fails,
for example with a STATUS Code of 1 or Status Code of 11.

Because we backup a lot of Project related Data for hundreds of departments,
they want to know if their Backups were successful or not. Rather than me
send out 100 individual Emails, I was hoping Netbackup would handle this
task.

A support document says to use BLAT - but what if I want to send an Email to
someone with a STATUS CODE of 11? Will Blat handle this?

I see in the "Configure Netbackup" Option, you can specify in the "Universal
Settings" An Email address, but there must be other people out there that
have a same requirement that I need?

Or am I just completely mad and asking for the impossible?

Can anyone help at all please?

Thanks :)

Simon Weaver
NT Domain Administrator
Ext. 5544
Tel: 02392-705544 (Direct Dial)
Simon.Weaver AT Astrium-Space DOT com

 -----Original Message-----
From:   Ang Chip Chiang   NCS [mailto:ccang AT ncs.com DOT sg]
Sent:   22 April 2002 05:51:PM
To:     WEAVER, Simon
Subject:        RE: [Veritas-bu] Email people when a job completes or fails

Hi,

I'm afraid you're going to be disappointment. NetBackup doesn't have a
build-in mail tool.

Look at it from a different prospective, you are purchasing a product that
will allow you to have a centralised backup system, comprising of cross
platform :)

BTW, Veritas did not pay me to say so..

ACC

-----Original Message-----
From: WEAVER, Simon
To: 'Ang Chip Chiang   NCS'
Sent: 4/22/02 9:17 PM
Subject: RE: [Veritas-bu] Email people when a job completes or fails

Hello
Thanks for the link, however I was hoping that Netbackup Datacentre
comes
with its own Email tools?
Is this not the case? We have spent an awful amount of money on this
product, and I would be a little disappointed if we cannot get this done
using just the product itself!

Still cannot find my manuals :(

Simon Weaver
NT Domain Administrator
Ext. 5544
Tel: 02392-705544 (Direct Dial)
Simon.Weaver AT Astrium-Space DOT com

 -----Original Message-----
From:   Ang Chip Chiang   NCS [mailto:ccang AT ncs.com DOT sg]
Sent:   22 April 2002 01:39:PM
To:     'David Markham '; WEAVER, Simon
Cc:     'veritas-bu AT mailman.eng.auburn DOT edu '
Subject:        RE: [Veritas-bu] Email people when a job completes or
fails


Hi,

Check out the following technote:
http://seer.support.veritas.com/docs/243127.htm

ACC

-----Original Message-----
From: David Markham
To: 'WEAVER, Simon'
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Sent: 4/22/02 6:50 PM
Subject: RE: [Veritas-bu] Email people when a job completes or fails

Arrr i see, well /usr/openv/netbackup/bin/backup_exit_notify doesnt help
you
much does it hehehe

Not sure about NT sorry, but im sure there will be seomthing similar

-----Original Message-----
From: WEAVER, Simon [mailto:Simon.WEAVER AT astrium-space DOT com]
Sent: 22 April 2002 11:41
To: 'dave.markham AT icl DOT net'
Cc: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Email people when a job completes or fails


Forgot to mention - This is Windows NT, not Unix :(

Simon Weaver
NT Domain Administrator
Ext. 5544
Tel: 02392-705544 (Direct Dial)
Simon.Weaver AT Astrium-Space DOT com

 -----Original Message-----
From:   David Markham [mailto:dave.markham AT icl DOT net]
Sent:   22 April 2002 11:36:AM
To:     WEAVER, Simon; veritas-bu AT mailman.eng.auburn DOT edu
Subject:        RE: [Veritas-bu] Email people when a job completes or
fails

What i do is use /usr/openv/netbackup/bin/backup_exit_notify

Theres an option in it to send mail when a job finished.

I also appened bperrcode onto this to give me info on the status code of
exit:- see below


echo `date` "-----------------------------" >> $OUTF
echo `date` "       CLIENT:  $1" >> $OUTF
echo `date` "        CLASS:  $2" >> $OUTF
echo `date` "     SCHEDULE:  $3" >> $OUTF
echo `date` "SCHEDULE TYPE:  $4" >> $OUTF
echo `date` "       STATUS:  $5" >> $OUTF
echo `date` "       STREAM:  $6" >> $OUTF
echo `date` "       STATUS:  $5" >> $OUTF
echo `date` "       STREAM:  $6" >> $OUTF
echo `date` "-----------------------------" >> $OUTF

/usr/openv/netbackup/bin/goodies/bperrcode $5 >> $OUTF
#
# might want to mail this info to someone
#
cat $OUTF | mailx -s "NetBackup backup exit $1" someone AT somewhere DOT com






-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of WEAVER,
Simon
Sent: 22 April 2002 10:22
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Email people when a job completes or fails


Hello everyone.
I see within the Netbackup main window, that you can use an option to
send
Emails. How can I send an Email when a particular job finishes
successfully
or fails badly?

Any ideas or helpful documents would be great!

Thanks

Simon Weaver
NT Domain Administrator
Ext. 5544
Tel: 02392-705544 (Direct Dial)
Simon.Weaver AT Astrium-Space DOT com

...
This email is for the intended addressee only.
If you have received it in error then you must not use, retain,
disseminate
or otherwise deal with it.  Please notify the sender by return email.
The views of the author may not necessarily constitute the views of
Astrium
Limited.
Nothing in this email shall bind Astrium Limited in any contract or
obligation.
Astrium Limited
Gunnels Wood Road
Stevenage
Hertfordshire
SG1 2AS
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
...
This email is for the intended addressee only.
If you have received it in error then you must not use, retain,
disseminate
or otherwise deal with it.  Please notify the sender by return email.
The views of the author may not necessarily constitute the views of
Astrium
Limited.
Nothing in this email shall bind Astrium Limited in any contract or
obligation.
Astrium Limited
Gunnels Wood Road
Stevenage
Hertfordshire
SG1 2AS

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
...
This email is for the intended addressee only.
If you have received it in error then you must not use, retain,
disseminate
or otherwise deal with it.  Please notify the sender by return email.
The views of the author may not necessarily constitute the views of
Astrium Limited.
Nothing in this email shall bind Astrium Limited in any contract or
obligation.
Astrium Limited
Gunnels Wood Road
Stevenage
Hertfordshire
SG1 2AS
...
This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate
or otherwise deal with it.  Please notify the sender by return email.
The views of the author may not necessarily constitute the views of Astrium
Limited.
Nothing in this email shall bind Astrium Limited in any contract or
obligation.
Astrium Limited
Gunnels Wood Road
Stevenage
Hertfordshire
SG1 2AS
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
...
This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate
or otherwise deal with it.  Please notify the sender by return email.
The views of the author may not necessarily constitute the views of Astrium 
Limited.
Nothing in this email shall bind Astrium Limited in any contract or obligation.
Astrium Limited
Gunnels Wood Road
Stevenage
Hertfordshire
SG1 2AS