Veritas-bu

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

2002-04-23 12:31:59
Subject: [Veritas-bu] Email people when a job completes or fails
From: Mark.Donaldson AT experianems DOT com (Donaldson, Mark)
Date: Tue, 23 Apr 2002 10:31:59 -0600
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1EAE4.63E83550
Content-Type: text/plain;
        charset="iso-8859-1"

You'll probably need two things.

1. A programming language.  Even NB Datacenter on UNIX can't send e-mails
multiple places based on class, error code, etc.  That has to be done
programatically.  Consider PERL - it's free for NT.  Call it via your
backup_notify or similar end-backup-type of script.

2. a command-line mailer.  Unless PERL has one built in (??) then blat is
probably your best supported option on this.

Good Luck,
Mark

-----Original Message-----
From: WEAVER, Simon [mailto:Simon.WEAVER AT astrium-space DOT com]
Sent: Tuesday, April 23, 2002 3:14 AM
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


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


------_=_NextPart_001_01C1EAE4.63E83550
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] Email people when a job completes or =
fails</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>You'll probably need two things.</FONT>
</P>

<P><FONT SIZE=3D2>1. A programming language.&nbsp; Even NB Datacenter =
on UNIX can't send e-mails multiple places based on class, error code, =
etc.&nbsp; That has to be done programatically.&nbsp; Consider PERL - =
it's free for NT.&nbsp; Call it via your backup_notify or similar =
end-backup-type of script.</FONT></P>

<P><FONT SIZE=3D2>2. a command-line mailer.&nbsp; Unless PERL has one =
built in (??) then blat is probably your best supported option on =
this.</FONT>
</P>

<P><FONT SIZE=3D2>Good Luck,</FONT>
<BR><FONT SIZE=3D2>Mark</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: WEAVER, Simon [<A =
HREF=3D"mailto:Simon.WEAVER AT astrium-space DOT com">mailto:Simon.WEAVER@astri=
um-space.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, April 23, 2002 3:14 AM</FONT>
<BR><FONT SIZE=3D2>To: 'dave.markham AT icl DOT net'</FONT>
<BR><FONT SIZE=3D2>Cc: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Veritas-bu] Email people when a job =
completes or fails</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Dave</FONT>
<BR><FONT SIZE=3D2>As mentioned below, this is NT</FONT>
</P>

<P><FONT SIZE=3D2>Simon Weaver</FONT>
<BR><FONT SIZE=3D2>NT Domain Administrator</FONT>
<BR><FONT SIZE=3D2>Ext. 5544</FONT>
<BR><FONT SIZE=3D2>Tel: 02392-705544 (Direct Dial)</FONT>
<BR><FONT SIZE=3D2>Simon.Weaver AT Astrium-Space DOT com</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: &nbsp; David Markham [<A =
HREF=3D"mailto:dave.markham AT icl DOT net">mailto:dave.markham AT icl DOT 
net</A>] =
</FONT>
<BR><FONT SIZE=3D2>Sent:&nbsp;&nbsp; 23 April 2002 09:17:AM</FONT>
<BR><FONT SIZE=3D2>To:&nbsp;&nbsp;&nbsp;&nbsp; WEAVER, Simon; 'Ang Chip =
Chiang&nbsp;&nbsp; NCS'</FONT>
<BR><FONT SIZE=3D2>Cc:&nbsp;&nbsp;&nbsp;&nbsp; =
veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
RE: [Veritas-bu] Email people when a job completes or fails</FONT>
</P>

<P><FONT SIZE=3D2>Is this for unix or NT?</FONT>
</P>

<P><FONT SIZE=3D2>Its really easy if your server is on unix you just =
edit</FONT>
<BR><FONT SIZE=3D2>/usr/openv/netbackup/bin/backup_exit_notify and add =
the line after the</FONT>
<BR><FONT SIZE=3D2>appends to a log file of</FONT>
</P>

<P><FONT SIZE=3D2>/usr/openv/netbackup/bin/goodies/bperrcode $5 =
&gt;&gt; $OUTF</FONT>
</P>

<P><FONT SIZE=3D2>Dave</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1EAE4.63E83550--