BB Unix Network Monitor - Message

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

RE: {bb} troubleshooting ext pg script



That makes a lot of sense... I forgot about the commas. 

Unfortunately, forcing the red with that syntax is still not calling the
script. The script definitely works, as does the rule, because it's
running on natural purples and reds. But it would be nice to test it
when I make changes instead if crossing my fingers and hoping production
tests it for me. Bizarre.

Happy Halloween :)

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Henrik
Storner
Sent: Saturday, October 30, 2004 12:27 AM
To: bb@bb4.com
Subject: Re: {bb} troubleshooting ext pg script

In <D0CF470B361DB646881635F38AE189B8017546B9@min.macrovision.com>
"Kimberly McKinnis" <kmckinnis@macrovision.com> writes:

>For reference, maybe I'm doing something wrong in my forced red. From
>bb/bin, I use ./bb 10.230.19.84 "status
>lpc105.sjc.smokeblower.net.memory red `date`"

You must use commas instead of dots in the hostname. 
./bb 10.230.19.84 "status lpc105,sjc,smokeblower,net.memory red `date`"


Henrik


>-----Original Message-----
>From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Kimberly
>McKinnis
>Sent: Friday, October 29, 2004 4:41 PM
>To: bb@bb4.com
>Subject: RE: {bb} troubleshooting ext pg script

>Pagelevelsmail is empty. That is how it should be, to my understanding.


>I am at a loss. The script runs when I actually run it from the dir,
but
>when I force any alerts red or purple, it is not working at all now. 

>Thanks.

>-----Original Message-----
>From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Philip
>Clark
>Sent: Friday, October 22, 2004 1:03 PM
>To: bb@bb4.com
>Subject: Re: {bb} troubleshooting ext pg script

>What do you have for "pagelevelsmail"? If you've got "red" in there,
>BB will only trigger e-mail recipients for that colour and (here's the
>catch) an ext script that sends e-mail is not considered an e-mail
>recipient.

>Cheers, Phil.



>On Fri, 2004-10-22 at 20:36, Kimberly McKinnis wrote:
>> So here's the thing. I was writing a page script that wasn't working,
>so
>> I'm backstepping. 
>> 
>>  
>> 
>> Essentially what I have is in bbwarnsetup.cfg, pagelevels: red purple
>> and hg-kim: lpc105.sjc.domain.net and pagerecovered: TRUE and
>pagetype:
>> EVENT
>> 
>> In bbwarnrules.cfg, I have
>> hg-kim;;*;;*;*;ext-mempcontrol-kmckinnis@macrovision.com
>> 
>> And in ext/pg/mempcontrol I have touch /home/bb/whywontthiswork.txt
as
>> well as a line to email me saying it's done.
>> 
>>  
>> 
>> It's only touching the script when tests on lpc105.sjc.domain.net
turn
>> purple, not red. Oh, and also on recovery only from purples. Every
>other
>> regular test sends email on reds AND purples, as well as recovery
from
>> both, so this has never been an issue. Is there a step I am missing,
>or
>> some other file I should look at for troubleshooting? Thanks. 
>> 
>>  
>> 
>> ~Kim
>> 


>-- 
>Adore, v.: To venerate expectantly. (Ambrose Bierce, "The Devil's
>Dictionary")

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


Home | Main Index | Thread Index