Xymon Mailing List Archive search

XYMONSERVERS bug

list Ralph Mitchell
Mon, 27 May 2013 01:57:36 -0400
Message-Id: <CAAEjoCWSSwKUAgOnVD3Y6cu=7zcv4kBp9eTu=user-b19a51c505ab@xymon.invalid>

Yes. Your clients try to talk to server1, eventually timeout, then deliver
to server2. I think the server reads the clients clock time from the status
message, so if the message is delayed, the clock time looks wrong.

That's a guess, I haven't looked at the source, but that would explain what
you're seeing.

Ralph Mitchell

On May 27, 2013 1:34 AM, "Roland Soderstrom" <user-0cec9512a49f@xymon.invalid>
wrote:
Actually I don’t have this setting in the servers at all just on the
clients.

So xymonserver2 doesn’t know xymonserver1, more than as a client


From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: Monday, 27 May 2013 3:28 PM
To: Roland Soderstrom

Subject: Re: [Xymon] XYMONSERVERS bug


Could that be due to waiting for the first server to time out when it's
down?

Ralph Mitchell

On May 27, 2013 1:16 AM, "Roland Soderstrom" <user-0cec9512a49f@xymon.invalid>
wrote:

Yes, both xymonservers sync with xntp from the same source, clients sync
from the same source as well.
I have manually checked time on the xymonserver and xymonclients and they
are on the dot the same time.

- Roland

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Monday, 27 May 2013 3:11 PM
To: xymon at xymon.com
Subject: Re: [Xymon] XYMONSERVERS bug

Well, the obvious explanation would be that the clock on your two Xymon
servers differ, so on the first server the time is within the clients'
idea of what time it is, but on the other server it is more than 10 secs
apart.

Have you checked the clock on your servers ?


Regards,
Henrik

On 27-05-2013 06:56, Roland Soderstrom wrote:
Hi,

Xymon version 4.3.10

I have 2 identical xymon servers and specify this in the
xymonclient.cfg.

XYMSRV="0.0.0.0"                        # IP address of the Xymon server

XYMSERVERS="192.168.10.1 192.168.10.2"    # IP of multiple Xymon
servers. XYMSRV must be "0.0.0.0".

If the first mentioned server 192.168.10.1 goes down the second
happily just continues and clients sends data to the second one.

But, it will display the cpu on each client as yellow with "System
clock is 47 seconds off (max 10)"

Strange enough it is always 47 seconds on ALL clients.

If I swap the ip's around XYMSERVERS="192.168.10.2 192.168.10.1" it
goes green again with no time difference.

I can reproduce this any time and it is always 47 seconds.

Is this a bug? or expected behaviour.

Cheers,

-Roland