Enabling the Availability Monitoring of J2EE Engine
Use this procedure to set up and start GRMG availability monitoring in your installation.
· An installed and running J2EE Engine
· The central monitoring system has to be an SAP Web AS ABAP 6.40.
·
The SAPCCMSR agent
with the option – J2EE has to be registered at CEN. For information
about how to register the SAPCCMSR Agent, see
Installing an Agent on
a Java Instance (Java Standalone System).
...
1. Choose Cluster → Server →Services → Monitoring → GRMG Customizing tab to list the applications that have a deployed GRMG customization.
2. Select sap.com/com.sap.emgine.heartbeat.
3. Choose Upload on the toolbar to upload the XML file to the CCMS agent.

Make sure that the value of the scenname element (scenarios → scenario →scenname) is J2EE_630. If another value is displayed, the value of this element, which is the technical name of the scenario, must be set to ‘J2EE_630’.
At the time of deployment, the XML file is validated according to the GRMG DTD. If the validation passes successfully, the file is stored in the database of the monitoring system. After at most an hour, you should be able to see the availability data of the J2EE Engine in your central monitoring system. See the ‘Results’ paragraph below.
If the validation fails, an error message is displayed prompting you to rewrite your tags according to the GRMG specification. The name of the file in which the configuration is stored must start with the string “GRMG_” for it to be noticed by the agent. The directory in which these files are stored is: /usr/sap/temp/grmg for UNIX systems and $SAPLOCATION\prfclog\grmg for Windows.
You can monitor the availability of the J2EE Engine in CCMS. For more details see Displaying Availability Data in CCMS.

It can take up to one hour from the upload of the XML file until the monitored availability data is shown in the CCMS Monitor, because an hourly report informs the agent of the GRMG scenario. You can check if the XML file was uploaded, by starting Transaction GRMG in the central monitoring system.