[Xymon] copy compiled server code from dev to prod

Bakkies Gatvol bakgat8 at hotmail.com
Wed Sep 25 15:06:09 CEST 2013


Thank you!  I was sure I grepped through the config directory for dev servername ... but apparently not well enough. Your list helped. The offending value was 

XYMONSERVERWWWNAME=


From: jlaidman at rebel-it.com.au
Date: Wed, 25 Sep 2013 10:45:31 +1000
Subject: Re: [Xymon] copy compiled server code from dev to prod
To: bakgat8 at hotmail.com
CC: xymon at xymon.com

Bakkies
The "Jump to page" option causes findhost.cgi to call a URL at using $XYMONWEBHOST as the server name.  This is typically defined in xymonserver.cfg, and given the value of $XYMONSERVERHOSTNAME.  Try searching for the dev server name in xymonserver.cfg.


I generally use packages for this purpose.  If I compile my own Xymon, I then package it up and deploy it where I want it by installing the package.
But copying should work, assuming the relevant settings are adjusted on each server, such as XYMONSERVERHOSTNAME and XYMONSERVERIP, and optionally XYMONSERVERWWWNAME.


J


On 25 September 2013 03:45, Bakkies Gatvol <bakgat8 at hotmail.com> wrote:





I compiled xymon-4.3.10 on a development server. Now I copied the "install" over to a production server. Here is what I see.

if I do a findhost via

http://prodserver/xymondev1-cgi/findhost.sh



if the checkbox Jump to page is checked - it "jumps" to the development server. If I uncheck the box - it shows a link which works correctly.


If there is a better/approved way to move the installed code ... let me know!







 		 	   		  

_______________________________________________

Xymon mailing list

Xymon at xymon.com

http://lists.xymon.com/mailman/listinfo/xymon



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130925/bda0ca6e/attachment.html>


More information about the Xymon mailing list