[Veritas-bu] email notifications in NB 3.2?
2002-01-04 11:37:47
Your best approach is to edit /usr/openv/netbackup/bin/backup_exit_notify
script. NetBackup gives 6 different variables for each job which exits (read
the script), $5 is the exit status. You could modify it to do something like:
if [ $5 -gt 1 ]; then
echo "$1 $3 on the $2 class failed with exit status $5" | mailx -s
"NetBackup failure on $1" you AT yourdomain DOT com
fi
RCA
--
Ryan C. Anderson
Unix Administrator
United Defense L.P.
desk 763.572.6684
pager 952.235.9936
>>> "Dave Brown" <dbrown AT gfs DOT com> 01/04/02 09:10AM >>>
I'm trying to set up some simple email notifications when there are failures or
incomplete backups running NB version 3.2 on a solairs 2.6 platform.
I thought it was something as simple as setting up some permissions through the
3.2 gui, but I have not been able to find anything anywhere. Am I just looking
in the wrong place or does 3.2 not have email failure notifications built in?
Thanks!
Dave Brown
Open Systems Administrator
Phone: 616-381-2297
Pager: 1-888-614-6762
Email: dbrown AT gfs DOT com
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|