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.

Depending on your security strategy, you can use a user name/password or a client certificate for authentication. The following steps are only necessary if you are using user names and passwords for authentication.
To perform these steps, you require access to the authorization editor of the portal, and you must be able to change the authorizations in the Security Zones folder (this is, by default, the case for the superadministrator).
6. The GRMG scenario for the portal requires an authenticated user. Proceed as follows to authenticate the user (note that you can also assign the required authorizations to a group or a role, if the user is assigned to this group or role):
a. In the portal, choose System Administration → Permissions → Portal Permissions. The authorization editor appears.
b. In the Portal catalog, choose Security Zones → sap.com → NetWeaver.Portal → high_safety → com.sap.portal.heartbeats → components → PortalHeartbeat.
c. In the context menu for PortalHeartbeat, choose the Open Permissions entry.
d. Add the desired user, and assign the following authorizations to this user:
■ Administrator: Read
■ Set the User check box.
e. Save your entries.

More
information about authorizations in the Portal:
Portal
Permissions.
7.
Call transaction
GRMG, and choose
Upload/Download → Poll agent for new
scenario. 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 storage.
○ Authentication using a client certificate

With this type
of authentication, you must replace the httpprefix 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