Xymon Mailing List Archive search

Xymon 4.3.0 beta 3 xymonproxy issue

5 messages in this thread

list Olivier Audry · Thu, 2 Dec 2010 12:09:33 +0100 (CET) ·
hello

perhaps I found an regression into the xymonproxy process :

my setup :

 xymonproxy listen on vip1 on port 1984
          he send information to a local xymond on 127.0.0.1 and port 1984
          he send information to a local xymonproxy1 listen on 127.0.0.1 and port 1985
                  xymonproxy1 send information to vip2 on port 1984
          he send information to a local xymonproxy2 listen on 127.0.0.1 and port 1986
                  xymonproxy2 send information to vip3 on port 1984


for status message (client running locally and send status to vip1 on port 1984) status is show on local xymond on 127.0.0.1 and port 1984 and on remote vip2 on port 1984.

this is fine.


I do a xymon --timeout=5 127.0.0.1 "xymondboard" everything is ok. But if I do a xymon --timeout=5 vip1 "xymondboard" is not working. I can see this into debug logs :


xymonproxy listen on vip1 on port 1984 logs :
2010-12-02 10:58:58 vip1 : xymondboard

local xymond on 127.0.0.1 and port 1984 logs :
==> /var/log/xymon/xymond.log <==
11699 2010-12-02 11:02:28 -> do_message/1 (11 bytes): xymondboard
11699 2010-12-02 11:02:28 -> update_statistics
11699 2010-12-02 11:02:28 <- update_statistics
11699 2010-12-02 11:02:28 -> oksender
11699 2010-12-02 11:02:28 <- oksender(1-a)
11699 2010-12-02 11:02:28 -> setup_filter: xymondboard
11699 2010-12-02 11:02:28 <- setup_filter: xymondboard
11699 2010-12-02 11:02:28 <- do_message/1

So we can see that xymond receive the xymondboard request but don't return information. In previous setup with hobbit 4.2 this is working fine.

I hope it's my explanation are clear.

oau
list Olivier Audry · Fri, 3 Dec 2010 10:32:30 +0100 (CET) ·
hello

no one can help me ? :)

oau
----- Mail original -----
quoted from Olivier Audry
De: "Olivier AUDRY" <user-0dc286edb094@xymon.invalid>
À: xymon at xymon.com
Envoyé: Jeudi 2 Décembre 2010 12:09:33
Objet: [xymon] Xymon 4.3.0 beta 3 xymonproxy issue

hello

perhaps I found an regression into the xymonproxy process :

my setup :

 xymonproxy listen on vip1 on port 1984
          he send information to a local xymond on 127.0.0.1 and port 1984
          he send information to a local xymonproxy1 listen on 127.0.0.1 and port 1985
                  xymonproxy1 send information to vip2 on port 1984
          he send information to a local xymonproxy2 listen on 127.0.0.1 and port 1986
                  xymonproxy2 send information to vip3 on port 1984


for status message (client running locally and send status to vip1 on port 1984) status is show on local xymond on 127.0.0.1 and port 1984 and on remote vip2 on port 1984.

this is fine.


I do a xymon --timeout=5 127.0.0.1 "xymondboard" everything is ok. But if I do a xymon --timeout=5 vip1 "xymondboard" is not working. I can see this into debug logs :


xymonproxy listen on vip1 on port 1984 logs :
2010-12-02 10:58:58 vip1 : xymondboard

local xymond on 127.0.0.1 and port 1984 logs :
==> /var/log/xymon/xymond.log <==
11699 2010-12-02 11:02:28 -> do_message/1 (11 bytes): xymondboard
11699 2010-12-02 11:02:28 -> update_statistics
11699 2010-12-02 11:02:28 <- update_statistics
11699 2010-12-02 11:02:28 -> oksender
11699 2010-12-02 11:02:28 <- oksender(1-a)
11699 2010-12-02 11:02:28 -> setup_filter: xymondboard
11699 2010-12-02 11:02:28 <- setup_filter: xymondboard
11699 2010-12-02 11:02:28 <- do_message/1

So we can see that xymond receive the xymondboard request but don't return information. In previous setup with hobbit 4.2 this is working fine.

I hope it's my explanation are clear.

oau
list Olivier Audry · Fri, 3 Dec 2010 16:43:15 +0100 (CET) ·
hello

I'm responding to myself that can help some one else :

I found the issue for the networking monitoring issue that did not reporting. I need to have two xymonserver.cfg. One for xymond on 127.0.0.1 and one for bbproyies and bbnet on vip1.

But still no clue about the xymondboard that do not respond on vip1. He only respond only on 127.0.0.1. 

I check the code and nothing seems to had change. I think my configuration is wrong nut I don't find where :(
quoted from Olivier Audry

oau

----- Mail original -----
De: "Olivier AUDRY" <user-0dc286edb094@xymon.invalid>
À: xymon at xymon.com
Envoyé: Vendredi 3 Décembre 2010 10:32:30
Objet: Re: [xymon] Xymon 4.3.0 beta 3 xymonproxy issue

hello

no one can help me ? :)

oau
----- Mail original -----
De: "Olivier AUDRY" <user-0dc286edb094@xymon.invalid>
À: xymon at xymon.com
Envoyé: Jeudi 2 Décembre 2010 12:09:33
Objet: [xymon] Xymon 4.3.0 beta 3 xymonproxy issue

hello

perhaps I found an regression into the xymonproxy process :

my setup :

 xymonproxy listen on vip1 on port 1984
          he send information to a local xymond on 127.0.0.1 and port 1984
          he send information to a local xymonproxy1 listen on 127.0.0.1 and port 1985
                  xymonproxy1 send information to vip2 on port 1984
          he send information to a local xymonproxy2 listen on 127.0.0.1 and port 1986
                  xymonproxy2 send information to vip3 on port 1984


for status message (client running locally and send status to vip1 on port 1984) status is show on local xymond on 127.0.0.1 and port 1984 and on remote vip2 on port 1984.

this is fine.


I do a xymon --timeout=5 127.0.0.1 "xymondboard" everything is ok. But if I do a xymon --timeout=5 vip1 "xymondboard" is not working. I can see this into debug logs :


xymonproxy listen on vip1 on port 1984 logs :
2010-12-02 10:58:58 vip1 : xymondboard

local xymond on 127.0.0.1 and port 1984 logs :
==> /var/log/xymon/xymond.log <==
11699 2010-12-02 11:02:28 -> do_message/1 (11 bytes): xymondboard
11699 2010-12-02 11:02:28 -> update_statistics
11699 2010-12-02 11:02:28 <- update_statistics
11699 2010-12-02 11:02:28 -> oksender
11699 2010-12-02 11:02:28 <- oksender(1-a)
11699 2010-12-02 11:02:28 -> setup_filter: xymondboard
11699 2010-12-02 11:02:28 <- setup_filter: xymondboard
11699 2010-12-02 11:02:28 <- do_message/1

So we can see that xymond receive the xymondboard request but don't return information. In previous setup with hobbit 4.2 this is working fine.

I hope it's my explanation are clear.

oau

                  
list Henrik Størner · Mon, 6 Dec 2010 10:10:00 +0000 (UTC) ·
quoted from Olivier Audry
In <user-fec0a5dbff27@xymon.invalid> Olivier AUDRY <user-0dc286edb094@xymon.invalid> writes:
my setup :
xymonproxy listen on vip1 on port 1984
         he send information to a local xymond on 127.0.0.1 and port 1984
         he send information to a local xymonproxy1 listen on 127.0.0.1 and port 1985
                 xymonproxy1 send information to vip2 on port 1984
         he send information to a local xymonproxy2 listen on 127.0.0.1 and port 1986
                 xymonproxy2 send information to vip3 on port 1984
I don't understand this. Why are you running xymonproxy1 and xymonproxy2,
if they are merely pass-through to vip2 and vip3 ? A simpler setup would
be
quoted from Olivier Audry

xymonproxy listen on vip1 on port 1984
         he send information to a local xymond on 127.0.0.1 and port 1984

         he send information to a xymond on vip 2 port 1984
         he send information to a xymond on vip 3 port 1984
I do a xymon --timeout=5 127.0.0.1 "xymondboard" everything is ok. 
This hits your local xymond task, so it definitely should work.
But if I do a xymon --timeout=5 vip1 "xymondboard" is not working.
I don't think it ever did. The proxy only forwards a response to
these commands: ping, config, query and download. This is unchanged
since at least 4.2.0.


Regards,
Henrik
list Olivier Audry · Mon, 6 Dec 2010 11:21:30 +0100 (CET) ·
hello

to be honnest it's not my setup :) And I will use yours :)

many thanks Henrik. And for me the beta3 is working fine for the moment. I got 2 xymon cluster with this new version and that's good.

oau

----- Mail original -----
quoted from Henrik Størner
De: "Henrik \"Størner\"" <user-ce4a2c883f75@xymon.invalid>
À: xymon at xymon.com
Envoyé: Lundi 6 Décembre 2010 11:10:00
Objet: Re: [xymon] Xymon 4.3.0 beta 3 xymonproxy issue

In <user-fec0a5dbff27@xymon.invalid> Olivier AUDRY <user-0dc286edb094@xymon.invalid> writes:
my setup :
xymonproxy listen on vip1 on port 1984
         he send information to a local xymond on 127.0.0.1 and port 1984
         he send information to a local xymonproxy1 listen on 127.0.0.1 and port 1985
                 xymonproxy1 send information to vip2 on port 1984
         he send information to a local xymonproxy2 listen on 127.0.0.1 and port 1986
                 xymonproxy2 send information to vip3 on port 1984
I don't understand this. Why are you running xymonproxy1 and xymonproxy2,
if they are merely pass-through to vip2 and vip3 ? A simpler setup would
be

xymonproxy listen on vip1 on port 1984
         he send information to a local xymond on 127.0.0.1 and port 1984
         he send information to a xymond on vip 2 port 1984
         he send information to a xymond on vip 3 port 1984
I do a xymon --timeout=5 127.0.0.1 "xymondboard" everything is ok. 
This hits your local xymond task, so it definitely should work.
But if I do a xymon --timeout=5 vip1 "xymondboard" is not working.
I don't think it ever did. The proxy only forwards a response to
these commands: ping, config, query and download. This is unchanged
since at least 4.2.0.


Regards,
Henrik