Re: log-2-web stuff for Amanda?

2002-02-13 Thread Moritz Both


Sarah,

I was waiting for the right moment to post this on the list for a
while now... It is a perl cgi which allows to view what the amanda
server is doing and to start dumps and verifys and to label tapes. It
can use different configurations and by default prints the amverify
output or, if amanda seems to be running, the amstatus output.

It is in no way secure. It must be installed setuid root so it can run
the amanda programs in the way they want, thus, it is a major security
risk because it of cource does contain bugs. We run it on a server
which is not accessible from the outside, and the httpd allows acces
from certain workstations only. I hope.

The beginning has a small configuration section:

$amconfdir = "/etc/amanda";
$amdatadir = "/var/lib/amanda";
$amconfig = "DailySet1";
$amrunuser = "operator";
$amrungroup = "disk";

It should all be obvious I think. $amrunuser and $amrungroup must be
set carefully... we all know how picky amanda is when it comes to
userids.

The script has been used on two RedHat machines only so far, using the
RPM amanda from Redhat. In different environments, there will probably
be the need for tweaking at some spots.

Greetings,
Moritz

> Hiya,

> Just thinking about coding up some perl scripts so I can see how my backups 
> are going from a web browser, and was wondering if there was anything like 
> that already - no point in reinventing the wheel.

> Something like Analog for Amanda I guess.  Even something pretty humble would 
> be fine.

> Anyone heard of a product, or rolled their own?


amhttp.pl
Description: Binary data


Re: log-2-web stuff for Amanda?

2002-02-13 Thread Johannes Niess

Sarah Hollings <[EMAIL PROTECTED]> writes:

> Hiya,
> 
> Just thinking about coding up some perl scripts so I can see how my backups 
> are going from a web browser, and was wondering if there was anything like 
> that already - no point in reinventing the wheel.
> 
> Something like Analog for Amanda I guess.  Even something pretty humble would 
> be fine.
> 
> Anyone heard of a product, or rolled their own?

Sarah,

What about this one?

watch 'amstatus  >file'

and display it via web server.

Johannes Nieß



log-2-web stuff for Amanda?

2002-02-12 Thread Sarah Hollings

Hiya,

Just thinking about coding up some perl scripts so I can see how my backups 
are going from a web browser, and was wondering if there was anything like 
that already - no point in reinventing the wheel.

Something like Analog for Amanda I guess.  Even something pretty humble would 
be fine.

Anyone heard of a product, or rolled their own?
-- 
--- Sarah Hollings <[EMAIL PROTECTED]>
--- IT ManagerPh +61 7 3365 6080  Fax +61 7 3365 6171
 Key Centre for Human Factors and Applied Cognitive Psychology
 The University of Queensland, Saint Lucia, QLD 4072 Australia