External alert script.
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
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
-- Mit freundlichen Gruessen Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (49) 69 - 798 28908 Fax: (49) 69 798 2881 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at rz.uni-frankfurt.de
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
participants (2)
-
Schrittenlocher@rz.uni-frankfurt.de
-
tlp-hobbit@holme-pedersen.dk