Amanda-Users

Re: putting error warnings into seperate mail

2006-05-10 06:22:58
Subject: Re: putting error warnings into seperate mail
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: listrcv <listrcv AT condor-werke DOT com>
Date: Wed, 10 May 2006 12:18:32 +0200
On 2006-05-10 12:03, listrcv wrote:

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.

In my reports those errors spring into sight very easily:
the first few lines are completely different layout / stars /
uppercase letters.  Quite a good imitation of Amanda screaming for
assistance.

But if it isn't loud enough, then maybe just a script that checks
for files in the holdingdisk after the run, and warn you of the
needed flush?  But this will not catch when Amanda fails to do
anything at all...

Keeping the "FAILURE AND STRANGE..." section small, i.e. handling
those errors, instead of allowing minor errors in there, helps to
spot real errors too.
I changed my patterns to categorize as normal, that certain files are
"changed are we read it" etc.   It would help if I didn't need to
recompile the Amanda binaries for this.


--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************