Re: [Networker] Wish List for Networker v8.0
2012-04-26 15:23:34
We already do this via a savegroup notification script. The subject ends up
being like: "Legato savegroup completion (notice): Oracle. completed, 3
client(s), 3 Succeeded."
Here is the script (you'll have to fix the line wraps)
#!/bin/ksh
BUFFER=/tmp/$$.savegroup.tmp
# Temp Buffer file
touch $BUFFER
while read line
do
echo $line >> $BUFFER
done
LEVEL=`grep "NetWorker savegroup:" $BUFFER | sed -e 's/NetWorker savegroup:
(\(.*\)) \(.*\) \(.*\), Total \(.*\) Please see group completion details for
more information./\1/'`
GROUP=`grep "NetWorker savegroup:" $BUFFER | sed -e 's/NetWorker savegroup:
(\(.*\)) \(.*\) \(.*\), Total \(.*\) Please see group completion details for
more information./\2/'`
STATUS=`grep "NetWorker savegroup:" $BUFFER | sed -e 's/NetWorker savegroup:
(\(.*\)) \(.*\) \(.*\), Total \(.*\) Please see group completion details for
more information./\3/'`
DETAIL=`grep "NetWorker savegroup:" $BUFFER | sed -e 's/NetWorker savegroup:
(\(.*\)) \(.*\) \(.*\), Total \(.*\) Please see group completion details for
more information./\4/'`
cat $BUFFER | /bin/mailx -s "Legato savegroup completion ($LEVEL): $GROUP.
$STATUS, $DETAIL" email_address_changed_to_prevent_spamming AT ox DOT com
# Remove Buffer file
rm $BUFFER
exit 0
----
Matthew Huff | 1 Manhattanville Rd
Director of Operations | Purchase, NY 10577
OTA Management LLC | Phone: 914-460-4039
aim: matthewbhuff | Fax: 914-460-4139
> -----Original Message-----
> From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
> On Behalf Of Michael Leone
> Sent: Thursday, April 26, 2012 2:22 PM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: Re: [Networker] Wish List for Networker v8.0
>
> > Hello NetWorker community - Thank you very much for the ideas and
> > contributions. I think you all know this, but I want to confirm....I
> > am watching and listening.
>
> You know what I would like, that should be (relatively) simple yet
> helpful (to me, at least)? When you have a group completion email, it
> would be really helpful to have the group name and status as the
> subject line, not just the status.
>
> A quick glance at "MAIL SERVER DAILY JOB finished successfully" is a
> LOT more helpful than "Savegroup Finished" or some similar generic
> wording, when I have no idea which group the email refers to.
> (yes, I know I could just look at the ones that say FAILED :-))
>
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type "signoff networker" in the body of the email. Please write to
> networker-request AT listserv.temple DOT edu if you have any problems with
> this list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or via RSS at
> http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|