Set Web Console server IP

Started by anthonyp, March 02, 2021, 02:40:24 AM

Previous topic - Next topic

anthonyp

I installed the web console on a separate container, I know I am supposed to set the IP/hostname of the netxms server, but Im not sure where to do set it. The docs mention a file nxmc.properties, but theres not much more mention of this anywhere else or where to create it.

Any help would be greatly appreciated, I know its likely super simple, but im just not familiar enough with java.

PS: running debian with Tomcat9

squeezypiano

I had the same a few months ago and found it easiest to add a hosts file entry for NETXMS_SERVER on the host running the Web GUI.

Victor Kirhenshtein

File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html.

Best regards,
Victor

anthonyp

Quote from: Victor Kirhenshtein on March 02, 2021, 01:45:46 PM
File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html.

Best regards,
Victor


Thank you so much! I'm not sure why I struggled to gather that from the installation manual, looking back at it after reading what you said its clear as day haha. Thank you again!