Tomcat Monitoring
Iotellect Network Manager provides top-quality out-of-the-box solution for Apache Tomcat monitoring.
Configure Remote JMX Access on Apache Tomcat 8
Add the following parameters to startup.bat for Microsoft Windows or startup.sh for Linux script of your Tomcat.
This syntax is for Microsoft Windows. The command has to be on the same line. It is wrapped to be more readable. If Tomcat is running as a Windows service, use its configuration dialog to set java options for the service. For Linux remove "set
" from beginning of the line.
set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
Where 9001
- is a port for remote JMX connection.
If you require authorization, add and change this:
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password
-Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access
edit the access authorization file $CATALINA_BASE/conf/jmxremote.access:
monitorRole readonly
controlRole readwrite
edit the password file $CATALINA_BASE/conf/jmxremote.password:
monitorRole tomcat
controlRole tomcat
Tip: The password file should be read-only and only accessible by the operating system user Tomcat is running as.
URL for Device Account Creating
service:jmx:rmi:///jndi/rmi://[IP Address]:[Port]/jmxrmi
Available Metrics
Iotellect Network Manager monitors the following Tomcat metrics:
- Full traffic statistics
- Cache details
- Connection statistics
- Error statistics
- Requests statistics
- and more
Was this page helpful?