Pre-requisites for Monitoring Java Applications
The Java Application model that eG Enterprise prescribes provides both agentless and agent-based monitoring support to Java applications. The eG agent, deployed either on the application host or on a remote Windows host in the environment (depending upon the monitoring approach – whether agent-based or agentless), can be configured to connect to the JRE used by the application and pull out metrics of interest, using either of the following methodologies:
- JMX (Java Management Extensions)
- SNMP (Simple Network Management Protocol)
Note:
The eG agent uses the specifications prescribed by JSR 174 to perform JVM monitoring.
This is why, each test mapped to the top 2 layers of Figure 1 provides administrators with the option to pick a monitoring mode - i.e., either jmx or snmp. The remaining test configuration depends upon the mode chosen.
Since both JMX and SNMP support are available for JRE 1.5 and above only, the Java Application model can be used to monitor only those applications that are running JRE 1.5 and above. The supported JVMs are as follows:
- Sun JVM 1.5 or higher
- JRockit JVM 5.0 R27.1 or higher
- IBM JRE 1.5 or higher
- OpenJDK 1.5 or higher
- Azul Zing JVM 1.6 or higher
To know details on how to enable JMX and SNMP support for JRE, refer to the below topics.