Networker

Re: [Networker] Getting last start time for a group?

2009-03-16 14:01:43
Subject: Re: [Networker] Getting last start time for a group?
From: Michael Nored <mrnored AT NETZERO DOT NET>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 16 Mar 2009 13:54:54 -0400
The savegrp completion report has the start time and the end time for the
group in it, should easy to pull the info from there. I believe the date is
also present so you could verify that as well.

Michael Nored
Consultant
Nored Consulting, LLC
 
M: (407) 399-8162
T:  (352) 350-7142
E: mnored AT Netzero DOT net

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Len Philpot
Sent: Monday, March 16, 2009 12:36 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Getting last start time for a group?

> George Sinclair 
>
> This is a simple question but maybe not an easy answer.
> 
> How can I obtain the time a given group last ran? I'd like to determine 
> this to be used by a script that will run each day.

There may be a way to query Networker directly, but if not it should be 
relatively painless to walk through your daemon* logs and extract the most 
recent group start entry. For example, I have a script that concatenates 
all my rolled-over logs into a large sequential one, and I sometimes use 
that for longer-term troubleshooting. I just delete the big log when I'm 
done. You probably don't need all of the logs combined for this, but maybe 
the last two or so (depending on when your script runs).

Or am I missing something? (entirely possible! :-)

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

<Prev in Thread] Current Thread [Next in Thread>