Veritas-bu

Re: [Veritas-bu] The ending of a backup and the cutting of a Remedy ticket

2010-10-27 10:56:01
Subject: Re: [Veritas-bu] The ending of a backup and the cutting of a Remedy ticket
From: <judy_hinchcliffe AT administaff DOT com>
To: <VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU>
Date: Wed, 27 Oct 2010 14:55:20 +0000
I see no reason why parent Notify would not work.
 if the parent has 6 child jobs, and 2 children die on first attempt, but 
successes on second attempt, and all other children are good on first attempt, 
then the parent is good (0)
Only if a child fails on both attempts within that parent will the parent show 
a failure.

Now for me, each child is allowed to try twice with that parent, but they are 
also allowed to try again within the window.

So sometimes I might have a failure at 8 pm,  but at 2 am a parent and 1 child 
try it again and it works.  That is the only issue I see.
But I see no reason why you could not test for a parent return code of anything 
other than 1 and 150.

I have my parent_end_notify do a number of things.

This being one of them.  I just have one email sent to me each morning telling 
me the status of all the backup attempts (because I want to know how often the 
first attempt fails) I have it set to run when the catalog finishes  (unix).

rptdate=`cat /opt/openv/scripts/temp/date4dlyrpt`
mydate=`date +%w`
if [ $mydate == 1 ]
then
h=64
else
h=16
fi
/usr/openv/netbackup/bin/admincmd/bperror -U -backstat -hoursago $h 
-by_statcode> /opt/openv/scripts/temp/bksum.txt
mail -s "mymastername Daily Backup Summary for $rptdate" someonewhocares AT 
mydomain DOT com  < /opt/openv/scripts/temp/bksum.txt
date '+%a %b %d %Y' > /opt/openv/scripts/temp/date4dlyrpt

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu 
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Dennis 
Peacock
Sent: Wednesday, October 27, 2010 9:04 AM
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: [Veritas-bu] The ending of a backup and the cutting of a Remedy ticket

Michael,
If I use the parent_end_notify script, what will make it so "not very stable"??
I plan on filtering at the Return Code level and route directly to Remedy via 
an automated ticket if the RC > 1.

I'd like other's input on this as well as more of yours.
We are evaluating OpsCenter, but so far, I'm not really impressed with it.  :o 


Michael wrote:
> Hi Dennis
>  
> We are using the backup_exit_notify script on the master for something like 
> this for SCOM.
>  
> You should be aware that you will get all errors from backup_exit_notify, 
> also backups that netbackup has rerun automatically.  But it is not a very 
> stable solution so now we are looking at opscenter alerting. 
>  
> Regards
> Michael
> 
> 
> 2010/10/21 Dennis Peacock <netbackup-forum < at > backupcentral.com 
> (netbackup-forum < at > backupcentral.com)>
> 
> > Anybody here have a script that will run at the end of EVERY backup job and 
> > if it's a failure code it will send an email or something to Remedy to cut 
> > a ticket for fixing the troubled backup?
> > 
> > NBU 6.5.6
> > Remedy AR System
> > 
> > Thoughts, ideas, pointers, suggestions?
> > 
> > Thanks,
> > Dennis
> > 
> > +-------------------------------------------------------------------
> > +---
> > |This was sent by dpeaco < at > acxiom.com (dpeaco < at > acxiom.com) via 
> > Backup Central.
> > |Forward SPAM to abuse < at > backupcentral.com (abuse < at > 
> > backupcentral.com).
> > +-------------------------------------------------------------------
> > +---
> > 
> > 
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu < at > mailman.eng.auburn.edu 
> > (Veritas-bu < at > mailman.eng.auburn.edu) 
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu 
> > (http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu)
> > 
> 


+----------------------------------------------------------------------
|This was sent by dpeaco AT acxiom DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu