Xymon Mailing List Archive search

External alert script.

list Thomas Pedersen
Wed, 10 Jan 2007 13:02:16 +0100
Message-Id: <user-8b715dc47cc2@xymon.invalid>

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