[Veritas-bu] One report with all client backup report withtheirsuccess
2008-06-12 23:10:34
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 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 withtheirsuccess,
Siva Santhakumar <=
|
|
|