Xymon Mailing List Archive search

two xymon servers - who controls clients?

list Bakkies Gatvol
Thu, 26 Sep 2013 09:31:46 -0400
Message-Id: <user-4bf6e42d2e9e@xymon.invalid>

Thanks much!  I am still testing so the order is good, but when I go real production - I will have to change the order. 


To: xymon at xymon.com
Date: Thu, 26 Sep 2013 15:22:04 +0200
From: user-ce4a2c883f75@xymon.invalid
Subject: Re: [Xymon] two xymon servers - who controls clients?


Den 26.09.2013 15:08, Bakkies Gatvol skrev:


I am setting up a production xymon monitoring server. I have a development one already running and was having the clients report to both.  I had not thought this setup would be problematic, (being use to old style Big brother) but as I am working on a LOG monitoring setup - it dawned on me that both prod & dev xymon server installs have a client-local.cfg.

Is there any kind of priority in the list of servers implied from the client point of view? 

on any given client I have

/etc/default/xymon-client

XYMONSERVERS="10.65.1.171 10.65.20.51"


If by some dumbness of me I end up with different client-local.cfg files on prod and dev - which one will end up on the client?

When you have two recipients in a client configuration, then the server response is returned by the first server in the list. So in your case, the client would get the client-local.cfg entry found on 10.65.1.171.

 
Regards,

Henrik