Re: [Networker] How to filter out some warning messages?
2004-09-09 04:10:36
Manel,
All my messages are redirected to go through procmail before being send to the
owner of the machine, or to me as administrator.
Using procmail I can build any filter to process the messages and filter out
lines that are not relevabt to my users.
for this purpose enter in all clients notification line someting like
/usr/bin/mailx -s <someting with the clientname> legato
so the mails are all processed by the legato account.
hope this is of some help,
Maarten
On Thursday 09 September 2004 09:24, Manel Rodero wrote:
> Hello,
>
> Is it possible to have some warning messages filtered out of the output of
> a backup log? I would like to filter things like files changed during save:
>
> * machine:/data04 save: Warning - `/data04/oradata/zona/control02.ctl'
> changed during save
>
> or like these when files cannot be opened because they are in use:
>
> * machine:C:\ save: C:\Program Files\CSCOpx\objects\db\px.db: cannot open
> (The process cannot access the file becauseit is being used by another
> process.)
>
> or growing files:
>
> * machine:/home save: Warning -
> `/home/soft/apache_1.3.31/logs/sslWEBMAIL_engine_log' size grew during save
>
> I now that I can parse the output and filter lines with these strings but I
> would like to do this naturally from within NetWorker.
>
> Thank you very much for any help.
>
> See you,
>
> _________________________________________________________________
>
> o o o Manel Rodero | LCFIB - UPC
> o o o Systems Manager & HelpDesk | Campus Nord - Modul B6
> o o o Laboratori de Calcul | Jordi Girona, 1-3
> U P C Facultat Informatica Barcelona | 08034 Barcelona (Spain)
>
> Mail : manel AT fib.upc DOT es | Tel: +00 34 93 401 6940
> Web : http://www.fib.upc.es/~manel | Fax: +00 34 93 401 7040
> _________________________________________________________________
>
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Maarten Boot,
Compuware Europe B.V.
Hoogoorddreef 5
1101 BA Amsterdam
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|