BB Unix Network Monitor - Message

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

Re: {bb} Paging in bb 1.09b/c



Srinath Alapati wrote:
> 
> OK. I searched the archive. I couldn't find anything related. Maybe I am
> going blind. Here are my question(s).
> 
> I am trying to get paging working. I want to be PAGED ONLY on red/purple
> levels. On yellow levels, I just want an email. Here are my config files. No
> modem attached. I created a fake process and put it in PROCS (so that it
> gives a YELLOW warning). The web page shows me the process is down and gives
> me the correct color code. I also get email every 10 minutes which is
> correct. But I got *one* page. Why am I getting paged? Please help. Do these
> config files look correct?
> 
> # email@test.com is the email address
> # pager@test.com is the pager address (alpha pager)
> # version is 1.09b/c
> 
> bbwarnrules.cfg: (10 min page delay)
> *;;*;;*;*;email@test.com:10 pager@test.com:10
> 

YOu have a e-mail pager, BB cannot differentiate between
and regular mail and e-pager.  You'll have to
prefix the e-pager address with a tag such that it
does not fall into the e-mail code.

You'll have to duplicate the e-mail code or put
some check in the e-mail case statement in bb-page1.sh
such that it'll recognizes the pager@test.com address
as an e-pager not regular mail...

This will require you to get your hands dirty and
hack the code for now.

> bbwarnsetup.cfg:
> pagelevels: red yellow purple
> pagelevelsmail: yellow
> pagetype: EVENT
> 
> bb-page.sh (line 648)
> PAGER="pager@test.com

???

Do you actually force the PAGER variable ?

> 
> What am I missing??
> 
> Also, I get these annoying messages:
> 
> cat: cannot open /apps/bb/tmp/bb-page.715

Do you have a beta of BB ? Anyway that error
should disappear in 1.2

bye
-- 
Robert-Andre Croteau	BSD,MOTU		robert@unix.sh
Services Conseils Informatiques MOTU Inc. 	robert@motu.ca
(514) 465-3057					rcroteau@videotron.ca
http://www.motu.ca/                             http://www.bb4.com
	Si le bonheur ne s'achete pas alors louez le.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Please send mail for the mailing list to: bb@taex001.tamu.edu
  To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
     with [un]subscribe bb in the BODY of the message.
  Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu


Home | Main Index | Thread Index