Re: columm widths in daily mail report

2003-01-31 Thread Gerhard den Hollander
* Keith Higgs [EMAIL PROTECTED] (Thu, Jan 30, 2003 at 03:53:44PM -0500)
 I have to agree.  While the package names escape me at the moment there
 are already lots of toys for converting text files to other formats,
 including HTML.

A few years ago I wqrote the attched perl script,
simply feed the output of getamstatus through it and redirect the output to
a webpage.

It's a quick and dirty hack, and will liekly need some tweaking to get it
to work in your environment, but it does the trick for me ;)


Kind regards,
 --
Gerhard den Hollander   Phone :+31-10.280.1515
Global IT Support manager   Direct:+31-10.280.1539 
Jason Geosystems BV Fax   :+31-10.280.1511 
  (When calling please note: we are in GMT+1)
[EMAIL PROTECTED]  POBox 1573
visit us at http://www.jasongeo.com 3000 BN Rotterdam  
JASON...#1 in Reservoir CharacterizationThe Netherlands

  This e-mail and any attachment is/are intended solely for the named
  addressee(s) and may contain information that is confidential and privileged.
   If you are not the intended recipient, we request that you do not
 disseminate, forward, distribute or copy this e-mail message.
  If you have received this e-mail message in error, please notify us
   immediately by telephone and destroy the original message.



backupstats.pl
Description: Perl program


columm widths in daily mail report

2003-01-30 Thread stan
I have run into this question before, and I remember getting an answer on it,
but unfortunately, I can't find the answer :-(, so i;m afraid I have to ask
again.

I've got a situation where some of the fields reported in the daily mail
report, are bigger that there is space for. I need to know how to make
these columns wider.

Thanks.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin



Re: columm widths in daily mail report

2003-01-30 Thread bukys
Here's what's in my amanda.conf to adjust the column widths.
YMMV.

columnspec OutKB=1:7,Compress=1:6,DumpTime=1:7,DumpRate=1:6,TapeRate=1:6



Re: columm widths in daily mail report

2003-01-30 Thread Joshua Baker-LePain
On Thu, 30 Jan 2003 at 11:46am, stan wrote

 I have run into this question before, and I remember getting an answer on it,
 but unfortunately, I can't find the answer :-(, so i;m afraid I have to ask
 again.
 
 I've got a situation where some of the fields reported in the daily mail
 report, are bigger that there is space for. I need to know how to make
 these columns wider.

Look at columnspec in amanda.conf

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University





Re: columm widths in daily mail report

2003-01-30 Thread Don Carlton
Has anyone changed the mail report to produce html?

On Thu, 30 Jan 2003 12:09:12 -0500
 [EMAIL PROTECTED] wrote:
 Here's what's in my amanda.conf to adjust the column widths.
 YMMV.
 
 columnspec OutKB=1:7,Compress=1:6,DumpTime=1:7,DumpRate=1:6,TapeRate=1:6




Re: columm widths in daily mail report

2003-01-30 Thread Gordon Pritchard
On Thu, 2003-01-30 at 08:46, stan wrote:

 I remember getting an answer on it, but unfortunately, I can't
 find the answer :-(
 
 I've got a situation where some of the fields reported in the daily mail
 report, are bigger that there is space for. I need to know how to make
 these columns wider.

I am also interested in this.  Much of the data (statistics) smush the
'time' into the KB/s field; my mail-client will accept *much* longer
lines (although the stock width is probably an excellent default).

-Gord

-- 
Gordon Pritchard, P.Eng. | Institute of Electrical and
Research Labs Manager|  Electronics Engineers
Simon Fraser University, Surrey  | Quarter Century Wireless Ass'n
[EMAIL PROTECTED]   | Telephone Pioneers of America
phone:  604.586.6186




Re: columm widths in daily mail report

2003-01-30 Thread Gene Heskett
On Thursday 30 January 2003 11:46, stan wrote:
I have run into this question before, and I remember getting an
 answer on it, but unfortunately, I can't find the answer :-(, so
 i;m afraid I have to ask again.

I've got a situation where some of the fields reported in the
 daily mail report, are bigger that there is space for. I need to
 know how to make these columns wider.

Thanks.

From my amanda.conf here:
-
# The format for a ColumnSpec is a ',' seperated list of triples.
# Each triple consists of
#   + the name of the column (as in ColumnNameStrings)
#   + prefix before the column
#   + the width of the column, if set to -1 it will be recalculated
# to the maximum length of a line to print.
# Example:
#   Disk=1:17,HostName=1:10,OutKB=1:7
# or
#   Disk=1:-1,HostName=1:10,OutKB=1:7
#
# You need only specify those colums that should be changed from
# the default. If nothing is specified in the configfile, the
# above compiled in values will be in effect, resulting in an
# output as it was all the time.
# The names of the colums are:
# HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
# TapeTime and TapeRate.
#   ElB, 1999-02-24.
columnspec 
Disk=1:18,HostName=0:10,Level=1:3,OrigKB=1:9,OutKB=1:9,Compress=1:7,DumpTime=1:7,DumpRate=1:7,TapeTime=1:7,TapeRate=1:7
---
which works pretty good here.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.22% setiathome rank, not too shabby for a WV hillbilly



RE: columm widths in daily mail report

2003-01-30 Thread Cassidy Kern
From the sample amanda.conf

# The format for a ColumnSpec is a ',' seperated list of triples.
# Each triple consists of
#   + the name of the column (as in ColumnNameStrings)
#   + prefix before the column
#   + the width of the column, if set to -1 it will be recalculated
# to the maximum length of a line to print.
# Example:
#   Disk=1:17,HostName=1:10,OutKB=1:7
# or
#   Disk=1:-1,HostName=1:10,OutKB=1:7
#
# You need only specify those colums that should be changed from
# the default. If nothing is specified in the configfile, the
# above compiled in values will be in effect, resulting in an
# output as it was all the time.
# The names of the colums are:
# HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
# TapeTime and TapeRate.
#   ElB, 1999-02-24.
# columnspec Disk=1:18,HostName=0:10,OutKB=1:7

--Cassidy Kern

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of stan
Sent: Thursday, January 30, 2003 10:46 AM
To: amanda users list
Subject: columm widths in daily mail report


I have run into this question before, and I remember getting an answer
on it,
but unfortunately, I can't find the answer :-(, so i;m afraid I have to
ask
again.

I've got a situation where some of the fields reported in the daily mail
report, are bigger that there is space for. I need to know how to make
these columns wider.

Thanks.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin




Re: columm widths in daily mail report

2003-01-30 Thread Joshua Baker-LePain
On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote

 Has anyone changed the mail report to produce html?

Oh, the horror!  ;)

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: columm widths in daily mail report

2003-01-30 Thread Mitch Collinsworth

On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:

 On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote

  Has anyone changed the mail report to produce html?

 Oh, the horror!  ;)

Agreed if sent by e-mail,  but if it were instead dumped into a web-served
directory...

-Mitch



Re: columm widths in daily mail report

2003-01-30 Thread Joshua Baker-LePain
On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote

 On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:
 
  On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
 
   Has anyone changed the mail report to produce html?
 
  Oh, the horror!  ;)
 
 Agreed if sent by e-mail,  but if it were instead dumped into a web-served
 directory...

Well, IMO it's still unnecessary.  Webservers serve out plain text just 
fine.

Sometimes I feel like such a curmudgeon.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: columm widths in daily mail report

2003-01-30 Thread Darin Dugan
At 01:33 PM 1/30/2003, Joshua Baker-LePain wrote:

On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote

 On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:

  On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
 
   Has anyone changed the mail report to produce html?
 
  Oh, the horror!  ;)

 Agreed if sent by e-mail,  but if it were instead dumped into a web-served
 directory...

Well, IMO it's still unnecessary.  Webservers serve out plain text just
fine.

Sometimes I feel like such a curmudgeon.


Agreed. (the first part, not the curmudgeon) But there's a difference 
between needed features and desired features. HTML formatted reports 
probably fall into the desired category.

That said, web-based Amanda reports could be useful for those who would 
rather check a central web site than read yet another piece of mail. My 
first order of business in the day is to open a central console that fires 
off to MRTG graphs, big brother reports, a call database, etc. Amanda could 
be another one of those.

But I'm not certain that this needs to be a part of Amanda either. Anyone 
could write up a quick perl script to take amreport -f and html-ize it. 
Stick that in your backup script and be done.

I keep thinking there must be an obvious way to integrate Amanda reports 
with Big Brother somehow... Have to think on this.


--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


--
Darin Dugan, System Admin
Iowa State University Extension
www.extension.iastate.edu





RE: columm widths in daily mail report

2003-01-30 Thread Keith Higgs
I have to agree.  While the package names escape me at the moment there
are already lots of toys for converting text files to other formats,
including HTML.

D. Keith Higgs mailto:[EMAIL PROTECTED] x0559
 Case Western Reserve University, Webmaster - University Library
 Additional Information at http://www.cwru.edu/UL/ and
http://keith.cwru.edu/
Follow the white rabbit.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Darin Dugan
 Sent: Thursday, January 30, 2003 03:16 PM
 To: Joshua Baker-LePain; Mitch Collinsworth
 Cc: Don Carlton; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
 [EMAIL PROTECTED]
 Subject: Re: columm widths in daily mail report
 
 
 But I'm not certain that this needs to be a part of Amanda either. 
Anyone could write up a quick perl script to take amreport -f and
html-ize it. 
Stick that in your backup script and be done.




Re: columm widths in daily mail report

2003-01-30 Thread Tom Schutter
On Thu, 2003-01-30 at 13:16, Darin Dugan wrote:
 At 01:33 PM 1/30/2003, Joshua Baker-LePain wrote:
 On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote
 
   On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:
  
On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
   
 Has anyone changed the mail report to produce html?
   
Oh, the horror!  ;)
  
   Agreed if sent by e-mail,  but if it were instead dumped into a web-served
   directory...
 
 Well, IMO it's still unnecessary.  Webservers serve out plain text just
 fine.
 
 Sometimes I feel like such a curmudgeon.
 
 Agreed. (the first part, not the curmudgeon) But there's a difference 
 between needed features and desired features. HTML formatted reports 
 probably fall into the desired category.
 
 That said, web-based Amanda reports could be useful for those who would 
 rather check a central web site than read yet another piece of mail. My 
 first order of business in the day is to open a central console that fires 
 off to MRTG graphs, big brother reports, a call database, etc. Amanda could 
 be another one of those.

A good reason to have HTML reports is features, not prettyness.  Use the
hypertext part of HTML.

For example, error messages could be links to doc that explains in
detail what the error means, and how to fix it.

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)