Results 1 to 4 of 4

Thread: HTML output module for amreport

  1. #1

    Default HTML output module for amreport

    I copied over the human.pm module to html.pm and am modifying it to generate the reports in HTML. These would look better in modern mail-agents. Here is an example -- output generated from the last night's run on one of my servers:

    http://aldan.algebra.com/~mi/tmp/amreport2.html

    I'm trying to make html output an option -- the resulting module will be able to generate either text/plain or text/html. I don't like Perl, however, and can't help but continue the existing style of human.pm.

    Would there be somebody willing to take this task over -- with the goal of making it part of future Amanda-releases? Thank you!

  2. #2

    Default

    Please get in touch with Zmanda Support (Zsupport@betsol.com)

  3. #3
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    Your module should 'use base qw( Amanda::Report::human );' and modify only some methods.
    Look at the json.pm and json_raw.pm module in 3.5

    3.5 have a report-format setting it amanda.conf to allow the use of nay report format.
    see http://wiki.zmanda.com/man/3.5.1/amanda.conf.5.html

  4. #4
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    Your module should 'use base qw( Amanda::Report::human );' and modify only some methods.
    Look at the json.pm and json_raw.pm module in 3.5

    3.5 have a report-format setting it amanda.conf to allow the use of nay report format.
    see http://wiki.zmanda.com/man/3.5.1/amanda.conf.5.html

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •