Skip to Content

SAP CEN configuration for CCMS Alerts

(Kernel 7.21 and above for satellite system)




Summary:-

This document contain the step by step how to configure the CEN configuration for CCMS alerts in kernel 7.21 and above of satellite systems.

Created by: Brindavan Mookaiah

Designation: SAP BASIS Consultant



Table of Contents

SMTP Configuration ………………………………………………………………………………………..

Configure CEN (Central Monitoring System)………………………………………………………….

Create the CSMREG User…………………………………………………………………………………

Activating Background and Central System Dispatching …………………………………………..

Step-by-Step ………………………………………………………………………………………………….

Activate central system dispatching in CEN ………………………………………………………….

Registering a CCMS Agent SAPCCM4X for ABAP-System ………………………………………..

Creating Central Z Method for Alerting ……………………………………………………………………

Auto Reactions for E-Mail Alerting in SBWP……………………………………………………………..

Assigning Z method to MTE classes ………………………………………………………………………

Testing method assignment and mail alert ……………………………………………………………….



SMTP Configuration

Go to TR:”SCOT” double click on “SMTP”

Capture1.JPG

Provide the SMTP connection information.


Capture2.JPG


Provide the Default Name as “your FQDN”

Capture3.JPG


Schedule the send job


Capture4.JPG


Configure CEN (Central Monitoring System)

Create the CSMREG User

Note: You must create this user in CEN and all monitored ABAP systems.

Goto T-code RZ21 ->Technical Infrastructure -> Configure Central System -> Create CSMREG User

Specify any password for this user. You require it during the installation and registration of the CCMS agents

and when creating RFC destinations in monitored systems, among other things.

Capture5.JPG

Capture6.JPG

Activating Background and Central System Dispatching

For all data collection methods in the monitoring architecture to be correctly started, background dispatching

needs to be activated. It starts all data collection methods that are executed periodically in the background

process (as jobs). To execute an auto-reaction in CEN for alerts from remote systems, central system

dispatching needs to be activated.

Note: Activate background dispatching in CEN and in all monitored ABAP systems in client 000.

•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.

•Choose Technical Infrastructure Method Execution Background Dispatching


Capture7.JPG


Background dispatching is performed by the job SAP_CCMS_MONI_BATCH_DP, which runs once an hour.

Note that not only this job, but also the data collection methods started by this job, run under your user

name. You should therefore ensure that your user has the authorizations required for this.

Activate central system dispatching in CEN

Step-by-Step

•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.

•Choose Technical Infrastructure Central System Central System Dispatching.

Central system dispatching is performed by the job SAP_CCMS_CENSYS_DISPATCHER.

Capture8.JPG


Registering a CCMS Agent SAPCCM4X for ABAP-System

If the connecting systems are more than kernel version is 7.21.

Note : Please be aware, that in this release

there is already an integrated sapccm4x agent always started in

sapstartsrv by default, and you are not allowed to use both types of

the agents simultaneously, it will lead to inconsistencies.

If you do not have a special reason to use classical RFC sapccm4x

agents, then please unregister these agents from CEN, please move the

content of the agent working directory (DIR_LOGGING/sapccm4x on each

instance) to another place and restart sapstartsrv with (sapcontrol -nr 02 -function RestartService SID)

  Kindly follow the below steps to install sapccm4x gent

1) Please move the content of the agent working directory (DIR_LOGGING/sapccm4x on each instance)

    to another place.

2) please restart sapstartsrv with “sapcontrol -nr 02 -function RestartService


Capture9.JPG

3) Login into SOLAM system and got to T-code RZ21 and then click


Capture10.JPG

The screen will appear like below to select the system type and the press enter.


Capture11.JPG

4) Fill the required system information in the below screen


Capture12.JPG

Once the system is registered then goto T-code RZ21 and click Agent for remote systems–>Display

Capture.13JPG.JPG


Note: If the system CI and DB install in different host. Please install the sapccmsr agent on DB-host

to get the alerts from database host system.

Creating Central Z Method for Alerting

In Transaction RZ21 Click on Topology -> Method -> Display Overview

Copy “CCMS_OnAlert_Email_V2” to “Z:central_CCMS_OnAlert_Email ”

Capture14.JPG

Capture16.JPG


Capture17.JPG


Change option to “Only in Central System, Triggered by CCMD agents”


Capture18.JPG


Maintain Below parameters


Capture19.JPG


Note: make sure that the SENDER user id is mentioned in the upper case letters below and it is present in the client 000

      of Solution Manager system.

Check “Auto –Reaction Method”

Capture20.JPG


Auto Reactions for E-Mail Alerting in SBWP

Crating Distribution list for E-mail alerting –> Goto TR:SBWP

Create Folder “z” folder under shared

Capture21.JPG

Title=<something>

Select the second field of „Entry in DL‟ to „External Address‟

Capture23.JPG


Then click on Create button

You need to specify a folder by clicking on F4 button.

If there are no folders create a folder, say, ZBASIS etc..

Click on „Create Folder‟

Capture24.JPG

Mention the folder which you created if not please created the folder.


Capture26.JPG


Capture27.JPG


To see the distribution list from SBWP transaction, click on „Shared Folders‟ on the left,

To add list of email ids to the group double click on „BASISEMAILGRP‟ on the right.

Select “Z” folder and click on “Distribution Lists” and create “BASISEMAILGRP”

Capture28.JPG


Mention your E-mail address


Capture29.JPG


Assigning Z method to MTE classes

Select TBI and click on „MTE Classes from System‟ button to refresh MTEs from TBI system

Capture30.JPG


Then select the MTEs you want from the middle section and then select central auto reaction method from

right.

Click on „Assign Central Auto-Reaction‟ button,

Select the first checkbox below and then click OK.

Capture31.JPG


Note: Similarly assign the central auto reaction method to as many MTEs as you wish.

You can go to satellite system and check if the auto reaction method assigned.



Testing method assignment and mail alert

Goto T-Code: RZ20 and click the MTE class which you have already assigned the Zmethod

Example: I have assigned for “Abortedjobs”

Capture32.JPG

Click on “YES”

Capture33.JPG

Now we can alert see alert in INBOX with Subject and body

Capture.34JPG.JPG

Note : For SOLMAN7.1 you can go-forward to install SMD agent installation.

For more details : Please find the following link about the SMD.

http://wiki.scn.sap.com/wiki/display/SMSETUP/Installation+of+SMD+Agent+With+SWPM+SP04

Home – SAP Solution Manager Setup – SCN Wiki

Step by step how to Install Diagnostics Agent and connect the agent to adaptive computing











To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply