Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

  1. 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

  2. Go into hyperic, select you server.

  3. Go to Tools->New Server.
  4. Select "Sun JVM 1.5" (Even if your running 1.6).
  5. Enter a name
  6. Enter the path to your jdk in install path.
  7. Go to "Configure properties".
  8. For the jmx url enter: service:jmx:rmi:///jndi/rmi://localhost:(port number from above)/jmxrmi
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.