GRMG Self-Monitoring Monitor
Use
Use this monitor to monitor the correct functioning and configuration of the Generic Request and Message Generator (GRMG). The monitor consists of two subtrees:
- You can display the status of each GRMG scenario. You can therefore check whether it was possible to perform an availability check correctly or not.
- You can have GRMG Customizing files automatically uploaded into the central monitoring system and started. The prerequisite for this is that the Customizing files are in a specific directory to which a CCMS agent has read authorization, and that the file follows a naming convention (see also Parameters of the Configuration File SAPCCMSR.INI). If GRMG Customizing files are automatically uploaded, information about the relevant CCMS agent is displayed in this subtree.

Prerequisites
You have performed the customizing of the GRMG monitoring.
Activities
To display this GRMG self-monitoring data, follow the procedure below:
- Choose CCMS → Control/Monitoring → Alert Monitor, or call transaction RZ20.
- Open the SAP CCMS Technical Expert Monitors monitor set, and start the GRMG Selfmonitoringmonitor.
Features
Scenario Execution Subtree
You can see here whether the GRMG application was available and returned a valid response. You can obtain the following information from the subtree for a scenario:
- If the subtree is green, the GRMG application was available and returned a valid response. The availability of the component is displayed in the normal associated subtree (see Displaying the Availability Monitoring with GRMG in the Alert Monitor).
- If the subtree is red, the monitoring architecture could not execute the scenario. In this case, a corresponding error message is displayed in the Run Status/Error Messages monitoring attribute in the subtree.
To obtain additional information about possible errors, select the monitoring attribute Run Status/Error Messages, and choose
Display Details. If possible, HTTP headers including return codes and status reasons are displayed.
The following scenario errors can occur, and are listed below with their most probable causes:
HTTP_POST Errors
The error description contains the prefix Reason for HTTP POST Failure.
| Error Description | Possible Cause |
|---|---|
|
|
|
There are problems in the network configuration or the network operation. |
|
There are problems in the HTTP service of the monitoring system; check the status of the service with transaction SMICM. |
|
There are problems with the HTTP server that is specified in the URL of the scenario. |
|
There are problems in the HTTP client functions of the central monitoring system; check the status of your HTTP operation with transaction SMICM. |
|
There are problems with the RFC connection of type HTTP (which you specified in Customizing instead of a URL); the connection does not exist, or the required authorizations for its use are missing. |
Scenario Errors
The error description contains the prefix Reason for scenario failure.
| Error Description | Cause |
|---|---|
|
This scenario error often occurs, if the response from the URL to the GRMG request is an HTML document rather than an XML document. The XML parser cannot return a specific error message in this case. This is usually because the GRMG application specified in the URL does not exist on the specified host. The Web server returns an HTML page Page not found or another non-XML page, which the parser cannot interpret. You should therefore check that the GRMG application is correctly installed on the target host and is operating correctly. |
|
This error message can occur if the response of a GRMG application does not return a status for any of the components specified in the GRMG request. Check whether the components in the GRMG Customizing file match those that are monitored by the GRMG application. You can also compare the GRMG request and the GRMG response directly by temporarily activating the trace (level 3) on the central server of the monitoring system in transaction SMICM. |
|
This error message occurs if there are formal DTD errors, such as tags that are not closed. You can check GRMG response directly by temporarily activating the trace (level 3) on the central server of the monitoring system in transaction SMICM. |
|
There are problems with the CCMS monitoring architecture. Check the CCMS Selfmonitoring monitor for other alerts, and ensure that you have started the monitoring with the GRMG only on the central server of the monitoring system. |
Customizing File Pickup Subtree
This subtree displays information about the automatic uploading of GRMG Customizing files. In general, these files are automatically uploaded to the central monitoring system and the associated GRMG scenario is started if the Customizing file is in the directory <Upload Directory> and has the prefix <File specification>:
| MTE Name (MTE Class) | Meaning |
|---|---|
|
Upload Log (GRMG_UPLOAD_LOG) |
Log for automatic uploading of Customizing files |
|
Upload Agent (GRMG_UPLOAD_AGENT_NAME) |
CCMS agent that loads the files of the directory below into the central monitoring system |
|
Last data supplier run (GRMG_UPLOAD_DSRUN) |
Last run of the data collection method that loads the Customizing files into the central monitoring system; by default, this is done once an hour |
|
Upload Directory (GRMG_UPLOAD_DIRECTORY_NAME) |
Directory in which the system searched for the Customizing file that the above CCMS agent loaded into the central monitoring system. |
|
File specification (GRMG_UPLOAD_DIRECTORY_NAME) |
Naming convention that the Customizing file must follow for the above CCMS agent to upload it into the central monitoring system. |
|
Most recent file timestamp (GRMG_UPLOAD_FILE_TIMESTAMP) |
Timestamp of the last change to the GRMG Customizing file that was uploaded to the central monitoring system using this agent |
Monitoring with the Generic Request and Message Generator start page