I was trying to configure the JVM memory usage, Heap Size and Logs monitoring via Hyperic Tool. But the documentation is not much clear how to do that. Is anybody can guide me please.
Asked
Active
Viewed 1,882 times
1 Answers
3
Add the following JVM args to your application startup to enable JMX jvm monitoring:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=(choose a port number) -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
Go into hyperic, select you server.
- Go to Tools->New Server.
- Select "Sun JVM 1.5" (Even if your running 1.6).
- Enter a name
- Enter the path to your jdk in install path.
- Go to "Configure properties".
- For the jmx url enter: service:jmx:rmi:///jndi/rmi://localhost:(port number from above)/jmxrmi
![](../../users/profiles/9088.webp)
Robert Durgin
- 151
- 4