E
dit
A
ttach
P
rintable
r2 - 2020-07-22 - 20:03:06 -
TimFeeney
You are here:
TWiki
>
Deployment Web
>
DeploymentMonitoring
>
JMXMBeans
>
MBeansUsage
>
CollectingBasicHealthCheckMetrics
<div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! Collecting basic health check metrics using JMX MBeans <img src="https://jazz.net/wiki/pub/Deployment/WebPreferences/todo.png" alt="todo.png" width="50" height="50" align="right"> %DKGRAY% Authors: Main.TimFeeney <br> Build basis: 6.0.6.1 and later %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> The ELM application provides a basic [[PerformanceHealthCheckWidget][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 A working and low latency connection to the database are essential to the application providing a good quality of service. Monitor these attributes to detect if the connection fails or the latency degrades appreciably over time. ---+++ 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. This is a resource intensive scenario so should be run infrequently and during off hours. Monitor the results to detect any reported errors to further investigate, with IBM Support, as needed. ---+++ 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 Monitor the results to detect any reported errors to further investigate, with IBM Support, as needed. Use of this bean is also described in [[https://jazz.net/library/article/91590][CLM Monitoring]]. ---+++ !LogEvents MBean This bean tracks error and warning messages captured in the application log file. Key errors to watch for are documented in [[MonitoringLoggedErrorMessages][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 Some clients have log parsing enabled in their application monitoring environment. These likely provide a more robust capability than what this MBean provides. <sticky></div></sticky>
E
dit
|
A
ttach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r2
<
r1
|
M
ore topic actions
Deployment
Deployment web
Planning and design
Installing and upgrading
Migrating and evolving
Integrating
Administering
Monitoring
Troubleshooting
Community information and contribution guidelines
Create new topic
Topic list
Search
Advanced search
Notify
RSS
Atom
Changes
Statistics
Web preferences
NOTE: Please use the Sandbox web for testing
Status icon key:
To do
Under construction
New
Updated
Constant change
None - stable page
Smaller versions of status icons for inline text:
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
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
.