Developing and Enhancing the Java Monitoring
Framework with JMX
Resources such as Java applications and services can use the Monitoring Framework of SAP NetWeaver to write monitoring data. The technology used to do this is based on the Java Management Extensions (JMX) standard. Using the monitoring infrastructure, the monitoring data can be forwarded to the central monitoring system and monitored there. Data that is provided by monitored resources to the Computing Center Management System (CCMS) of the central monitoring system can be displayed in SAP NetWeaver Administrator, in SAP Solution Manager, and in the CCMS itself.
Two steps are required to extract monitoring data with the JMX technology:
·
Write an XML
file for the resource, in which you define the monitors, objects, and so on
that are to be added to the display the extracted data in the tree structure
of the monitor. This XML file is deployed together with the resource. For more
information about this XML file, see
monitor-configuration.xml
Structureand Creating the
monitor-configuration.xml.
· Add a monitoring MBean to the resource. This MBean is required by the monitors to extract the monitoring data at runtime. For more information about the monitoring MBean, see Registering Resource MBean(s).
For an
example application, see
Example of Application
Instrumented with Monitoring. For information about the types of monitor
that you can use, see
Types of Monitors and
Their Usage.