BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Need help with regular expression



Philip Clark wrote:
> 
> That log message will match both the yellow and red clauses that you
> have specified. That being the case, I'd expect that the red match
> takes precedence over yellow where paging is concerned. 
> 
> While it might be possible to craft a red clause to ignore "NOTICE"

Any idea how?

> messages from Oracle specifically, I suspect that it might be easier
> to use an external script to monitor that file.

I rather monitor the messages file using msgtab if manage to exclude the
*core dumped string

> 
> Cheers, Phil.
> 
> 
> 
> On Thu, 2004-07-08 at 21:44, Asif Iqbal wrote:
> > Hi 
> > 
> > I am trying to get only yellow alert and not red alert for this mesg
> > 
> > &red /var/adm/messages (scanned at Thu Jul  8 15:24:06 EDT 2004) Jul  8
> > 15:23:04 salade genunix: [ID 603404 kern.notice] NOTICE: core_log:
> > oracle[12325] core dumped: /var/core/sun4u.oracle
> > 
> > my bb-msgtab looks like this
> > 
> > : /var/adm/messages : : WARNING ; core_log.*oracle.*core dumped : NOTICE :
> > 
> > What am I doing wrong?
> > 
> > I am using bb-1.9c
> > 
> > Thanks
> 
> 
> -- 
> The generation of random numbers is too important to be left to chance.
> 
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There's no place like 127.0.0.1
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index