BB Unix Network Monitor - Message

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

Re: {bb} bb-msgtab syntax question



> > 1) I've got the following line in bb-msgtab:
> > /opt/bb/burp :: WARN : error ; Error ; Maximum runtime ; Maximum 
endtime ; 
> > aborted :
> > when I do "echo WARN test line >> /opt/bb/burp" Big Brother still 
stays 
> > green.. Any ideas on what I'm doing wrong?
> 
> the syntax is => host : file : misc : yellow : red : ignore
> So in your case BB is taking /opt/bb/burp as host with no file.
> It should read like this
> : /opt/bb/burp : : WARN : error ; Error ; ..... :

Thanks, this did the trick ;)


> > 2) Is it possible to exclude a single system from a check? For example 

> > like this:
> > localhost !host13 : /var/log/logfile :: WARN : ERROR :
> 
> No, but you can do this :
> localhost : /var/log/logfile : : WARN : ERROR : ^.*host13.*
> This way every line containing host13 will be ignored.

That isn't working in this case.. the logfile exists on all hosts, but not 
on host13. So on that server BB comes with the message "/var/log/logfile 
has vanished."

using hostgroups in the $BBHOME/etc/bb-* configfiles would be a great 
enhancement for BB 2.0 (hint for Sean ;))

Greetings,
/Frank.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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