A non-performance monitor that monitors VersionInfo, which is version information of a component. The reported version consists of an application name, a major version, a minor version, a support package number, a build time, a change list number, and an optional entry for additional information.
· In the monitor-configuration.xml this monitor is specified in the following way:
<version-monitor name="Version Monitor" configuration-group="TEST.VersionMonitor"> <monitored-resource name="TestMonitorMBean:j2eeType=SAP_TestMonitor_MBeans" type="MBEAN"/> <version-attribute-mapping> <version-attribute> <observed-resource-attribute name="VersionParameters"/> </version-attribute> </version-attribute-mapping> </version-monitor> |
· The method returning the monitored version information is:
public com.sap.jmx.monitoring.api.VersionInfo getVersionParameters (); |