!--a11y-->
Setting Up GRMG Monitoring of the Portal
Infrastructure 
You can use the Generic Request and Message Generator (GRMG) to monitor the availability of the Portal Infrastructure. To do this, define the required configuration settings in a GRMG Customizing, which is transferred to CEN by a CCMS agent.
You have
installed the CCMS agent SAPCCMSR with the j2ee option on the host of the J2EE
Engine of the portal (see
Installing and
Registering CCMS Agents) and registered it with the central monitoring
system (CEN).
...
1. On the host of the J2EE Engine of the portal, switch to the following directory:
Microsoft Windows: <J2EE Home directory>\JC<Inst. No.>\j2ee\admin\
UNIX: <J2EE Home directory>/JC<Inst. No.>/j2ee/admin/

If you installed the J2EE Engine together with an ABAP Engine, the character combination in the name of the JC<Inst. No.> directory in the above path may vary.
2.
Start the
Visual
Administrator by calling the start script go (UNIX)
or go.bat
(Microsoft Windows), and log on with your user as the J2EE Engine administrator.
3. In the navigation bar, choose Cluster ® Server ® Services ® Monitoring, and choose the tab page GRMG Customizing.
4. Expand the left half of the screen. All applications that have a prepared GRMG Customizing file are displayed. Choose sap.com/com.sap.portal.heartbeat.
5.
Transfer the
Customizing file to the CCMS agent by choosing the
Upload
button.
These steps are only necessary if you are using user names and passwords for authentication (see below).
6. The GRMG scenario for the portal requires an authenticated user (without a special role). To authenticate the user, proceed as follows:
a. In the portal, choose System Administration ® Authorizations ® Portal Authorizations.
b. Open the folder Security Zones ® com.sap.portal ® low_safety.
c. Select the entry com.sap.portal.heartbeats.EPHeartbeat and switch to change mode.
d. Delete the user Authenticated Users (Default Setting).
e. Add the desired user, assign the authorization Administrator=Read to the user, and check the End User checkbox.
f. Save your entries.
7.
Call
transaction GRMG, and choose
Upload/Download ® Query CCMS Agent for
Scenarios. Confirm
the following question.
8.
In the list,
you see a scenario with the description GRMG:J2EE.PI<SID>:<Host> and
the URL http://<Host>:<Port>/irj/servlet/prt/portal/prtroot/
com.sap.portal.heartbeats.PortalHeartbeat. Select the
relevant line, and choose the button
Edit GRMG Customizing.
9. Proceed as follows, depending on the type of authentication you are using:
¡ Authentication using a user name and password
Set the value X for the property USE_BASIC_AUTHENTICATION.
In the editable properties for the property names LOGON_USER and LOGON_PASSWORD, enter the values for the above user.

The password is stored in encrypted form in the secure store.
¡ Authentication using a client certificate

With this type of authentication, you must replace the http prefix with https in the URL/Destination input field (see
Using Client
Certificates for User Authentication).
Insert a
line in the editable properties, by choosing the
Insert Line
button. Specify the following values for this property:
Component |
GRMG_RT |
Version |
1 |
Property Name |
SSL_CLIENT_ID |
Property Value |
ANONYM (no
certificate, SSL encryption only), DFAULT (standard
certificate of an SAP system), or the name of the SSL client PSE to be used
(see also |
10. Save your changes.
11.
Select the
line of the scenario, and choose the
Start
button.
12. Call transaction RZ20 in CEN.
13. Expand the monitor set SAP CCMS Monitor Templates, and start the Availability and Performance Overview monitor. The availability of the activated scenarios is displayed in the subtree GRMG-Tested Availability (Web Components).
You have set up and started the availability monitoring of the Enterprise Portal.
Monitoring with the
Generic Request and Message Generator start page