Amanda-Users

putting error warnings into seperate mail

2006-05-10 06:07:29
Subject: putting error warnings into seperate mail
From: listrcv <listrcv AT condor-werke DOT com>
To: amanda List <amanda-users AT amanda DOT org>
Date: Wed, 10 May 2006 12:03:41 +0200

Hi,

our tape changer seems to become a little unreliable in that it failed two times yet to change tapes as it should. (I'll have to see how this will turn out, still.) Amanda reports tape errors in the daily reports and suggests running amflush then.

These events can go unnoticed too easily when glancing at the daily mail from amreport, so I would like to somehow setup for getting another mail besides the report, to different addresses, in such cases.

I could maybe try to grep the output of amreport or some logfile and send mail as needed, but I'm not sure what would be best to grep and what for. Things to grep for might vary --- first time it happened, the changer was stuck and reported some hardware error and required to be turned off and back on; this time, the tape drive remained empty for unknown reasons.

What can I best look at to set up seperate mailings in case a backup run fails?


GH