Remote server monitoring using JConsole
I am trying to set up remote monitoring of the Tigase server using JConsole. I have completed all the prerequisite steps as described in
My init.porperties has monitoring enabled:
The monitoring port (9050) is exposed through firewall and I can connect to it via telnet. I have added the monitor user / password to jmx.access and jmx.password files:
However I am unable to connect to the server on 9050 port using the monitor user / password. Does the monitor user have to be explicitly created using HTTP API? Are there other settings that I am missing?
I have downloaded and installed the jdmkrt.jar file as specified in the documentation and we are running Tigase 7.0.0 b3736
Added by Wojciech Kapcia about 4 years ago
What error JConsole gives? Or it just times out? Can you try using Tigase Monitor It's possible, that explicitly configuring JMX IP could help: https://projects.tigase.org/projects/tigase-server/wiki/JMX.
Added by Peter Rajcani about 4 years ago
I got the JConsole and Tigase monitor working. What was missing was the setting in the tigase.conf file to set the JMX IP address:
I also needed to add the admin user to jmx.access and jmx.password files with read-write privileges and use admin credentials to log into JConsole.