Networker

Re: [Networker] check running savegroups from command line

2006-12-18 12:56:51
Subject: Re: [Networker] check running savegroups from command line
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 18 Dec 2006 09:46:54 -0800
> How do I get a list of currently running savegroups ?

I'd be prone to use nsradmin to look for status:running groups.

printf "show name\nprint type:nsr group;status: running\n" | nsradmin -i -

> I want to to the
> following every 24 hours.
> 
> 1.    Verify that there are no running savegroups ( as the backup
> windows is complete, any still running probably indicates probably a
> shortage of media and definitely something worth checking out ).
> 
> 2.    Verify for each completed savegroup
> 
> The clients and savegroups that succeeded.
> 
> The clients and savegroups that failed

You'd probably need to look through the 'completion' field in the
savegroup.  

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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