On 26/09/13 11:22 PM, henrik at hswn.dk wrote:
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.
With BBWin, it seems to be the last listed server that it pays attention to in central mode.
<bbwin> <setting name="bbdisplay" value="1.1.2.2"> <setting name="bbdisplay" value="1.1.2.3">
Would use 1.1.2.3 copy of client-local.cfg
David.
-- David Baldwin - Senior Systems Administrator (Datacentres + Networks) Information and Communication Technology Services Australian Sports Commission http://ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au