BB Unix Network Monitor - Message

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

Re: {bb} Debugging Paging Continued



Holger Marzen wrote:
> 
> On 29 Feb, Sean MacGuire wrote:
> > Dave Thacker wrote:
> >>
> >> A few quick questions:
> >>
> >> 1)  What program or script actually sends the messages to bb-page.sh?
> >
> > bb sends "page" messages to bbd on the BBPAGER machine
> 
> But when? Say my external script (fping.sh) does a
> 
>    LINE="status $bbhostsvc $COLOR `$DATE`   $LINESTR"
>    $BB $BBDISP "$LINE"
> 
> So bbd on the BBDISPLAY machine gets a 'red' message.
> But who sends the page message to bbd on the BBPAGER?
> 

"bb sends "page" messages to bbd on the BBPAGER machine"

when bb sends a message to BBDISPLAY host(s), it checks the color
level of the message.  IF it is red, it will then also send a
message to BBPAGERs.  SO this way you only need one invocation of bb.

> I really have to understand this, because I have a remote brother that
> does some networking tests (you guessed it: with fping.sh) and is its
> own display server. It also sends summary to the "master"-brother. The
> "master"-brother is also the BBPAGER (the only BBPAGER).
> 
> On the remote brother there are 2 machines in bb-hosts that have similar
> names:
> 
>   20.255.213.12 SB-DWBC.sik-gmbh.de   # csicocpu
>   20.255.213.15 SB-DWBC2.sik-gmbh.de  # ciscocpu
> 
> This is no problem at all for the remote brother's tests and display.
> But on my bb-pager I receive every 30 minutes (that's the pagedelay in
> my bbwarnrules) a crippled message. bb-page.sh is called with the
> following arguments:
> 
> ..fping purple Sun Jan 16 13:07:52 MET 2000   SB-DWBC2.sik-gmbh.de is unreachable
> 
> This is crap. The machine should have a name, it is not unreachable, and
> there are no old files lying around that might cause a purple state. I
> don't see any purple state on my displays, either.
> 

Have you checked in bb2.html, you should have a purple there.

> So I have to find out who is responsible for that message.
> 
> 

What's the IP address associated with the message ? (should be
at the bottome of the status log) 

it's probably your BBDISPLAY, remove all  SB-DWBC2.sik-gmbh.de
files in www/logs www/hist www/histlogs.


bye
-- 
Robert-Andre Croteau
BB4 Technologies Inc.                         http://bb4.com/
(514) 996-4638
	Si le bonheur ne s'achete pas alors louez le.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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