I had to give up running netxms on my Windows lab server as it has some "issues"? Anyway, I decided to install it as a Docker image as I am using it to monitor my lab and there are not a lot of devices in it and it isn't critical that netxms stays running 24x7. I did some searching and found the following docker-compose.yaml file for netxms:
services:
server:
image: lomo/netxms-server
ports:
- "4700:4700"
webui:
image: lomo/netxms-webui
ports:
- "8080:8080"
environment:
- "NETXMS_SERVER=server"
console:
image: lomo/netxms-nxmc
environment:
- "DISPLAY=$DISPLAY"
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix"
I ran it on my UnRAID server and the server and webui are running fine. However, the console refuses to load. The log file for that container says: "An error has occurred. See the log file /root/.nxmc/data/.metadata/.log". The problem with that is that since the console image won't load, how do I look at the ".log" file to fix this?
			services:
server:
image: lomo/netxms-server
ports:
- "4700:4700"
webui:
image: lomo/netxms-webui
ports:
- "8080:8080"
environment:
- "NETXMS_SERVER=server"
console:
image: lomo/netxms-nxmc
environment:
- "DISPLAY=$DISPLAY"
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix"
I ran it on my UnRAID server and the server and webui are running fine. However, the console refuses to load. The log file for that container says: "An error has occurred. See the log file /root/.nxmc/data/.metadata/.log". The problem with that is that since the console image won't load, how do I look at the ".log" file to fix this?