Amanda-Users

Re: putting error warnings into seperate mail

2006-05-14 17:04:36
Subject: Re: putting error warnings into seperate mail
From: Josef Wolf <jw AT raven.inka DOT de>
To: amanda-users AT amanda DOT org
Date: Sun, 14 May 2006 22:57:24 +0200
On Thu, May 11, 2006 at 03:41:27PM +0200, Paul Bijnens wrote:

> The problem with deciding about the errors is more difficult when
> you look closer.
> 
> - Some people leave the tape drive empty on purpose, and when enough
> dumps are collected in the holdingdisk, they insert the tape, and all
> the dumps get autoflushed to tape.

I'm doing this also, (on vtapes, via cron).

> - Some people have laptops in their disklist, and "results missing"
> is normal for those PC's.  However, results missing on your production
> file server is very important.

So it might be a good idea to make "results missing" (or, maybe other
errors, too?) behavior depandant on the host.

> - Many people have "file changed as we read it" warnings, and most of
> these are harmless.  But sometimes NOT.
> That's why I extended my list of reg.expressions to suppress those
> warnings only for particular files only.

I always wondered how to distinguish the harmful from the harmles.
You dare to share your wisdom?

> So, implementing this inside Amanda for general use is difficult.
> Implementing a filter in perl for your own use should be easy enough.

I disagree with this. Asking the (end)user to implement their filters in
perl is somewhat arrogant, I think... Instead, there should be an interface
to specify the severity of a specific problem.  Soemthing like

   /host.regex.do.main/      /results missing/  IGNORE
   m!host.com:/var/mail/.*!  /file changed/     IGNORE

Forcing people to implement those things on their own invites people to
introduce errors without even knowing about the fact that they have an
error.