Veritas-bu

[Veritas-bu] One report with all client backup report

2008-06-13 15:24:26
Subject: [Veritas-bu] One report with all client backup report
From: "Carol Schneider" <CSchneider AT spiegelbrands DOT com>
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Fri, 13 Jun 2008 15:04:16 -0400
I'm interested in the Windows scripts.

Carol Schneider, MCSA
Open Systems Engineer
Spiegel Brands, Inc.
(Tel) 757.825.4015
cschneider AT spiegelbrands DOT com

-----Original Message-----


Message: 5
Date: Fri, 13 Jun 2008 12:54:02 +1000
From: "Siva Santhakumar" <sivasanthan AT gmail DOT com>
Subject: [Veritas-bu] One report with all client backup report
        withtheirsuccess
To: veritas-bu AT mailman.eng.auburn DOT edu
Message-ID:
        <1e478cd10806121954r4ec4e4amc3a92c2dd7d802f AT mail.gmail DOT com>
Content-Type: text/plain; charset="iso-8859-1"

This way I do it to send me an html email

Unix
.
/usr/openv/netbackup/bin/admincmd/bperror -problems -hoursago 24 -U
-backstat -l \
nawk '
$19 > 1 {
        print "<tr>"
        print "<td>"$12"</td><td>"$14"</td><td>"$16"</td><td
bgcolor='red'>"substr($0,index($0,$20))"</td>"
        print "</tr>"
       }
$19 == 1 {
       print "<tr>"
        print "<td>"$12"</td><td>"$14"</td><td>"$16"</td><td
bgcolor='orange'>"substr($0,index($0,$20))"</td>"
       print "</tr>" }
$19 == 0 {
       print "<tr>"
        print
"<td>"$12"</td><td>"$14"</td><td>"$16"</td><td>"substr($0,index($0,$20))
"</td>"
       print "</tr>" }
' >>$OUTFILE
---------------------------

This report shows failure and success

 where $19 = 0 Success
           $19 = 1 ( partial success)
           $19 > 1 ( total failure and reason)


Windows

Written a VBscript to send mail using blat. ( not formatted like above
just
dump)

Let me know if you want any of the above scripts.

Cheers
=====================================
Veritas-bu Digest, Vol 26, Issue 21
##########################################################################
# This email and all files transmitted with it are confidential and      #
# intended solely for the use of the individual or entity to whom they   #
# are addressed.                                                         #
#                                                                        #
##########################################################################

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] One report with all client backup report, Carol Schneider <=