BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} Specific service notification
Michael,
This is likely caused because the pagetype is set to RCPT in the
bbwarnsetup.cfg file. This will cause bb to only send 1 alert per pagedelay
(usually 15 minutes) to any recipient whether or not there are multiple
notifications on multiple servers. You could change pagetype to EVENT which
will send an alert for every event. There are also other options there you
may want to consider, and these are described in bbwarnsetup.cfg.
Regards
Oliver Bassett
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Michael
Vincent Pozon
Sent: Friday, 6 August 2004 1:40 p.m.
To: bb@bb4.com
Subject: RE: {bb} Specific service notification
Hi Jasper,
Ok.
Do you know whether BB can send alert when there's already a yellow
alert under the same column?
For example:
Under SVC, I have DHCP Server and DNS Server.
If DHCP Server is in yellow, BB will send notification but when DNS
turns red BB seems not to send any notification.
Also, when the services recover.
When DHCP service turns back to green from yellow - this is because I
have another list of admins for yellow and another 1 for red.
Regards,
-----Original Message-----
From: Jasper Filon [mailto:jasper.filon@ritstele.com]
Sent: Thursday, August 05, 2004 3:33 PM
To: bb@bb4.com
Subject: RE: {bb} Specific service notification
Michael,
I dont understand your limitations, you can:
1. Enter more email adresses on the bbwarnrules.cfg line, it will send
email to them all. For example:
bambi;;temp;;*;0000-1000 2200-0000;ext-ex5-mycellphone
ext-ex5-yourcellphone ext-ex5-hiscellphone
2. Replace
echo "${BBALPHAMSG}" | $MAIL "!BB - ${ACKCODE}! $BBHOSTSVC
$BBCOLORLEVEL - $BBNUMERIC" "$RCPT"
By
/usr/bin/sms_client kpn:$RCPT "BB - ${ACKCODE} - $BBHOSTSVC
$BBCOLORLEVEL - $BBNUMERIC"&
I use the second one to get paged on my cellphone rather than by email.
Ofcourse, you will need a working sms_client for this.
Hope this helps.. I know it is not a clean solution, but i really wanted
to be able to get paged depending on color as well.
Regards, Jasper
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Michael
Vincent Pozon
Sent: donderdag 5 augustus 2004 9:16
To: bb@bb4.com
Subject: RE: {bb} Specific service notification
Hi Jasper,
Your solution is quite okay but is limited to the following:
- limited to 1 email recipient (unless you spend more time writing
additional codes)
- limited to send to email only (unless you spend more time writing more
additional codes)
Anyway, thanks for the tips. At least I know where to start now.
Regards,
-----Original Message-----
From: Jasper Filon [mailto:jasper.filon@ritstele.com]
Sent: Wednesday, August 04, 2004 4:23 PM
To: bb@bb4.com
Subject: RE: {bb} Specific service notification
Out of the box, Big Brother can't page depending on color. What i do
most of the time, is using an extra paging script, checking to color of
the alert. This is extremly easy, just copy one of the examples
(/$BBHOME/ext/pg) and replace:
echo "${BBALPHAMSG}" | $MAIL "!BB - ${ACKCODE}! $BBHOSTSVC $BBCOLORLEVEL
- $BBNUMERIC" "$RCPT"
by:
if [ "$BBCOLORLEVEL" = "red" ]
then
echo "${BBALPHAMSG}" | $MAIL "!BB - ${ACKCODE}! $BBHOSTSVC
$BBCOLORLEVEL - $BBNUMERIC" "$RCPT"
fi
This way, the alert will only be send if the colorlevel is red.
Ofcourse, you will have to put an extra paging rule in for every color.
In my case:
bambi;;temp;;*;1000-2200;mycellphone
bambi;;temp;;*;0000-1000 2200-0000;ext-ex5-mycellphone
So i get pages during the day when my server temperature reaches warning
level or higher, and during the night, i only get paged at panic level
(red).
Hope this helps.
Kind regard, Jasper
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Adam
Goryachev
Sent: woensdag 4 augustus 2004 6:54
To: bb@bb4.com
Subject: Re: {bb} Specific service notification
On Wed, 2004-08-04 at 14:21, Michael Vincent Pozon wrote:
> Hi,
> Can BB be configured in such a way that specific service alert will be
> sent to specific email ID?
> Example:
> Under the SVC column on the BB website, if the DHCP SERVER is down, it
> will send email to admin1@example.com and when TFTP server is down, it
> will send the alert to admin2@example.com
> As far as I know, BB will send alerts to any status change under the
> SVC (regardless of what service) to a list of address.
Look in the config file, you can specify any of the following:
a) All alerts for any server and any service go to admin@example.com
b) All alerts for any server and TFTP go to admin@example.com and alerts
for any other server or service go to admin2@example.com
c) All alerts for one specific server and any service go to
admin@example.com. All other alerts are handled as per other options
listed.
d) All alerts for one specific server and one specific service are sent
to admin1@example.com. All other alerts are handled as per other options
listed (including this one).
Basically, what you are asking is for two serves of (d) and you haven't
specified what else you want.
It can take some time to get your head around BB's paging rules, but it
is extremely flexible, and can do almost anything. The only thing I know
it can't do (this might have changed since I last checked) is to page
different people for different color alerts.
Hope this helps.
Regards,
Adam
--
--
Adam Goryachev
Website Managers
Ph: +61 2 8304 0000 adam@websitemanagers.com.au
Fax: +61 2 9345 4396 www.websitemanagers.com.au
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.
######################################################################
This e-mail message has been scanned and cleared by MailMarshal at
http://www.gen-i.co.nz
######################################################################
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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