Xymon Mailing List Archive search

Res: [hobbit] Alert problems

1 message in this thread

list Leonardo Bozi · Thu, 5 Jun 2008 12:29:32 -0700 (PDT) ·
Hi Werner,

I've just changed the alert configuration file, but your suggestion didn't work. The problem still remains. The configuration file I mentioned in my last email worked well on version 4.1.2p1, but it doesn't work on last version. I don't know what happens!!!

Thanks in advance.
Leonardo Bozi


----- Mensagem original ----
De: Werner (Hobbit - list_ext) <user-a58d6bcc049e@xymon.invalid>
Para: user-ae9b8668bcde@xymon.invalid
Enviadas: Segunda-feira, 2 de Junho de 2008 11:24:56
Assunto: Re: [hobbit] Alert problems

Hi Leonardo,
    If my memory is working as expected :) -- when you use "%" it
means your using regular expression, and in this case it is doing
correctly. 
    Try change it in a way it reads as:
HOST=%^servername$ SERVICE=conn COLOR=red RECOVERED
         MAIL    user-d30732aa89f1@xymon.invalid               FORMAT=sms REPEAT=1h


    Note the "$" after "servername".

    -wm


----------------------- Original Message -----------------------
From:    Leonardo Bozi <user-bb28df2d311e@xymon.invalid>
To:      user-ae9b8668bcde@xymon.invalid

Date:    Thu, 29 May 2008 15:00:21 -0700 (PDT)
Subject: [hobbit] Alert problems
----
Hi,

I upgraded Hobbit version 4.1.2p1 to 4.2.0 (CentOS 4 x86_64) with allinone.patch but I'm having problems to set alerts with clusters which have nodes with similar names. For exemple:
servername -> head node name;
servername001 - batch node name;
servername002 - batch node name;
...
Before the upgrade, the alerts was working well and th hobbit-alerts.cfg is configured like this:

HOST=%^servername SERVICE=conn COLOR=red RECOVERED
        MAIL    user-d30732aa89f1@xymon.invalid               FORMAT=sms REPEAT=1h

The alerts of the nodes are working after the upgrade, but the alert of the head node are appearing multiplied by the number of the nodes of the cluster. I attached a picture that show the problem.

Did anybody see a problem like that?

Thanks in advance.

Leonardo


Abra sua conta no <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/>Yahoo! Mail, o único sem limite de espaço para armazenamento! 

      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/