Amanda-Users

Re: tape request via email

2003-04-28 11:03:24
Subject: Re: tape request via email
From: simonetti AT echo DOT fr
To: Jon LaBadie <jon AT jgcomp DOT com>, amanda-users AT amanda DOT org
Date: Mon, 28 Apr 2003 14:59:52 GMT
2 bash lines may help you, and you could wrap them against your monitoring 
system:
amadmin <conf> tape  --> gives you the tape(s) required by Amanda
amcheck <conf>  --> checks if the tape inserted is the correct one



> On Mon, Apr 28, 2003 at 12:46:11PM +0400, vlad f halilow wrote:
> > hello, i change the request() function in chg-manual for requesting tape 
via 
> > our monitoring system. but one thing: in the amanda dump report, i look the 
> > string for the next tape to be inserted (awaiting tape). which variable or 
> > file contain string for the next tape? so tape request note looks like 
> > following:
> > 
> > 'insert new tape'
> > 'insert tapename10' etc...
> > 
> > 
> > how i can made this?
> 
> The various changer scripts, such as chg-manual, are standalone programs.
> When called I do not think they have available the information about
> which tape should be used next.
> 
> I don't know of a simple, foolproof way to determine what tape you should
> request without changes to other parts of amanda.
> 
> -- 
> Jon H. LaBadie                  jon AT jgcomp DOT com
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)


----------------------------------------------------
This message was sent using http://echo.fr Web Mail.



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