BB Unix Network Monitor - Message

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

{bb} bbwarn email recipients



Hey Brothers,

I have one system which has been dying unexpectedly and I
want BB to let me know when this happens so I can restart
it and troubleshoot the problem quickly. I have a pager
which accepts email messages so I put an entry into the
bbwarnrules.cfg file which includes that address as the
recipient for problems with that host; nothing happened.

I just figured out today that it wasn't sending the mail
to 'ralert', the email alias we've set up which redirects
mail to a couple different recipients. This is a sendmail
alias, not a BB definition. Apparently BB is ignoring the
email alias because I found messages like this in BBOUT:
>Mon Aug 28 08:30:00 2006 bbd bbpage Unknown recipient <ralert> - it may
need to be prefixed with pg-
>Mon Aug 28 08:35:57 2006 bbd bbpage Unknown recipient <ralert> - it may
need to be prefixed with pg-
I grep-ed for bbpage in the bin directory and the only hit
I got was bbd so I then looked at the source for bbpage.c
which appears to build the email alert message from scratch;
I'm still digging into the code to be sure what it's doing.

I'm pretty sure I've got the syntax of the bbwarnrules.cfg
file correct. Has anyone else seen/had this problem? It's
not a huge issue because I can always just define a new,
separate alias in bbwarnsetup.cfg (which I've already done)
but it would be cleaner in the long run to use the existing
UNIX alias since that's how the rest of the system reports
serious problems and any changes to the system-wide alert
list need only be made in one place.

I've tested the email alias from the UNIX command line and
it works perfectly - I get both email and a page. I don't
know if this is pertinent but due to our security policy
sendmail is configured to reject the vrfy and expn options.

Thank you,

	Walter R.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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