[hobbit] External alert script.

David Whitehouse David.Whitehouse at talis.com
Wed Jan 10 13:17:06 CET 2007


Recovering alerts have a status of red but have a RECOVERD env' variable
set to "1". Sounds like you need to check for this var too.

-----Original Message-----
From: Thomas [mailto:tlp-hobbit at holme-pedersen.dk] 
Sent: 10 January 2007 12:02
To: hobbit at hswn.dk
Subject: Re: [hobbit] External alert script.

The problem is that the BBCOLORLEVEL is still red when the script is run

again, and the BBALPHAMSG is giving service is green OK. A bit strange.

Maybe its my perl coding which is not ok.

Rolf Schrittenlocher wrote:
> Hi Thomas,
>
> in most cases external scripts are running regularly and will send a 
> new status with color=green once the error is recovered.
> regards
> rolf
>> Hi !
>>
>> I am writing an external alert script and the initial activatio is 
>> ok. But when the service is then recovered I have problems with the 
>> correct detection.
>>
>> Looking at http://www.hswn.dk/hobbiton/2005/08/msg00282.html I see 
>> that various variables are set when calling the script, but I can not

>> match a RECOVERED string in BBALPHAMSG. Is this due to hobbit alert 
>> module identifiyeing the recovery by itself and not letting this on 
>> the the script ?
>>
>> Br Thomas
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>
>
>

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
 
The very latest from Talis
read the latest news at www.talis.com/news 
listen to our podcasts www.talis.com/podcasts 
see us at these events www.talis.com/events 
join the discussion here www.talis.com/forums 
join our developer community www.talis.com/tdn 
and read our blogs www.talis.com/blogs

 
Any views or personal opinions expressed within this email may not be those of Talis Information Ltd. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.



More information about the Xymon mailing list