On 7 December 2012 06:57, Novosielski, Ryan <span dir="ltr"><<a href="mailto:novosirj@umdnj.edu" target="_blank">novosirj@umdnj.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

1) Do the xymonnet machines listen on the Xymon port? They seem to,<br>
but I can't see any reason why they should. If they didn't, I'd<br>
configure the xymonnet machines to use the standard port 1984 to give<br>
me less to do when going live.<br></blockquote><div><br></div><div>I agree, the xymonnet process should not be listening on any port. Only the xymond process listens on port 1984.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

3) I see that xymonproxy cannot share a machine with xymond as they<br>
both use the same port. I assume depending on the answer to question<br>
1, it can share a machine with xymonnet, right?<br></blockquote><div><br></div><div>I would think so.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

4) A couple of events (including the recent hurricane we had over<br>
here) have raised the need for a second Xymon server in cases where a<br>
campus will be unavailable for some time. Is using xymonproxy to<br>
distribute this information the way to go in a master/slave situation?<br></blockquote><div><br></div><div>It might work just fine for some things.  But things like enable/disable on the web GUI will need to be performed on both servers, to keep them in sync.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Defining multiple XYMSRV's? Something else?<br></blockquote><div><br></div><div>I have two independent Xymon servers in different locations, each configured identically (using subversion over ssh for replicating the configuration).  The clients are configured with $XYMSRV=0.0.0.0 and $XYMSERVERS set to contain both server IP addresses.</div>

<div><br></div><div>There are two gotchyas with this system, both of which are easily solved.  One is that the "display" servers must not list each other in $XYMSERVERS, and should only list their own IP address (so as to avoid Xymon message loops, if I remember correctly).</div>

<div><br></div><div>The other problem is that as a consequence of each display server only listing itself, a enable/disable message doesn't get sent to both servers, and have to be performed on both.  My fix for this is:</div>

<div>1) create a modifed "xymonserver.cfg" file that includes the original "xymonserver.cfg" and then re-defines XYMSERVERS to list both servers</div><div>2) define XYMONENV_ENADIS=/path/to/xymonserver-enadis.cfg so that the modified config file can be specified</div>

<div>3) define CGI_ENADIS_OPTS="--env=$XYMONENV_ENADIS" so that the CGI script uses the modified file with both servers listed.</div><div><br></div><div>J</div><div><br></div></div></div>