Collecting basic health check metrics using JMX MBeans
Authors: TimFeeneyBuild basis: 6.0.6.1 and later
The ELM application provides a basic health check widget you can add to a dashboard. In addition, there a few different MBeans you can monitor related to base application health.
Server Information MBean
The bean provides some health information for the server running the application. Of most interest are:- dbConnectionStatus - indicates if the status of the application's connection to the database
- dbPingTime - a measure of the latency between the application and database
Repotools Verify Information MBean
This bean provides the results of an online verify that checks the integrity of an application's production database. There are several verifiers that execute, for each, the attributes to watch are- componentId - identifies the validator being run
- statusCode - indicates the result of the particular verifier
- severity - provides an assessment of the severity of verification results, eg. OK, WARNING, ERROR and others.
Diagnostics MBean
Server diagnostics can be run regularly to analyze many aspects of the server so as to quickly identify problems. There are several tests that execute, for each, the attributes to watch are- testId - the test that ran
- status - the overall status of the test execution
- statusDesc - short description of the test results
- detailStatusDesc - more information about the test results
LogEvents MBean
This bean tracks error and warning messages captured in the application log file. Key errors to watch for are documented in Monitoring error messages. Occurrence of these messages should be investigated, with IBM Support, as needed. Some useful attributes include- errorId - the ID of the error
- errorTitle - title of the error
- errorDetails - additional details for the error
- userId - the user involved in the request that resulted in the error

Contributions are governed by our Terms of Use. Please read the following disclaimer.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.