Setting Up Central Auto-Reaction Methods

Use

In the monitoring architecture, you can react automatically to an alert using auto-reaction methods. These methods are automatically started in the case of an alert and by default are executed in the system in which the alert occurs.

As of SAP Web Application Server 6.10, you can define central auto-reaction methods in the monitoring architecture in the context of the central monitoring of SAP components. The auto-reaction methods are not started in the system, in which the alert occurs, but rather in the central monitoring system. In this way, it is possible for reactions to events that occur in monitored components to be performed immediately in a central location.

Prerequisites

  • The central monitoring system (abbreviated to CEN in the following) has a release status of at least SAP Web Application Server 6.10.

  • The monitored SAP components have a release status of at least release 4.6B with a kernel as of 4.6D AKK patch level 692.

  • The monitored SAP components are connected to CEN using the CCMS agent SAPCCM4X. The agent must have a release status of at least version 6.10.

    You can determine the version of the CCMS agent by calling it with the option -v (such as: sapccm4x -v). The version is the number after the term kernel (for example: 20010110, compiled at Aug 19 2001, kernel 6100_0_104 platform 00230_32bit).

Restrictions

You cannot assign any central auto-reaction methods to the MTE classes that belong to the application servers of CEN as described below. In this case, use the conventional assignment using a local auto-reaction method.

Procedure

Perform all configuration steps for the central auto-reaction method only in CEN.

  1. Choose Start of the navigation pathCCMS Next navigation step Configuration Next navigation step Alert MonitorEnd of the navigation path, or call transaction RZ21.

  2. The system displays the Monitoring: Properties and Methods screen. Choose Start of the navigation pathTechnical Infrastructure Next navigation step Configure Central System Next navigation step Assign Central Auto-ReactionsEnd of the navigation path.

  3. The Maintain Central Auto-Reactions screen appears. On this screen, you can perform all work steps to define, assign, and edit central auto-reaction methods. A normal first step is to create a central auto-reaction method from an existing (local) auto-reaction method and to then assign this to the desired MTE class in the desired system. You can make the following settings:

Creating, Editing, or Deleting a Central Auto-Reaction Method

You can execute any auto-reaction method centrally that is defined as an auto-reaction method in the central system. The method does not need to be known in the monitored system.

You can also use the predefined auto-reaction methods of the monitoring architecture for this. These are, for example:

To have an existing auto-reaction method executed centrally, follow the procedure below:

  1. In the Defined Central Auto-Reactions subwindow, choose Create. On the following dialog screen, enter the desired auto-reaction method in the input field next to the Create with Template pushbutton, or use the input help, which provides a list of all released auto-reaction methods. Choose Create with Template.

  2. The Monitoring: Methods screen appears. The settings are copied from the template, with the exception that the indicator Only in central system, triggered by CCMS agent is activated in the Execute Method group box of the Control tab page. Therefore, you do not usually need to change the settings, other than to enter a name for the central auto-reaction method.

  3. Save your entries. The system then displays the method immediately in the Defined Central Auto-Reactions subscreen.

To create a new central auto-reaction method, follow the procedure below:

  1. In the Defined Central Auto-Reactions subwindow, choose Create. On the following dialog screen, enter the desired name for the method in the input field next to the Create button and choose Create.

  2. The Monitoring: Methods screen appears. Enter the desired settings for the method (for more information about creating auto-reaction methods, see Defining, Releasing, and Transporting Methods) and ensure that you activate the radio button Only in central system, triggered by CCMS agent.

  3. Save your entries. The system then displays the method immediately in the Defined Central Auto-Reactions subscreen.

To edit a central auto-reaction method, follow the procedure below:

  1. In the Defined Central Auto-Reaction Methods subscreen, select the desired method and choose Edit.

  2. The Monitoring: Methods screen appears. Make the desired changes to the method definition and ensure that the selection field Only in central system, triggered by CCMS agent is activated.

  3. Save your changes.

To delete a central auto-reaction method, follow the procedure below:

  1. In the Defined Central Auto-Reaction Methods subscreen, select the desired method and choose Delete

  2. Confirm that you want to delete the method. If the method is used in an assignment, the system will also inform you of this, and ask whether you want to delete the method and all of its assignments.

Assigning a Central Auto-Reaction Method

Enter the MTE classes and system to which you want to assign a central auto-reaction method. The system checks the assignment regularly.

  1. In the System ID subscreen, select the desired systems, and the desired MTE classes in the MTE Class subscreen, to which you want to assign a central auto-reaction method. You can always select multiple systems and MTE classes.

  2. In the Defined Central Auto-Reactions subscreen, select the desired method that you want to assign to the selected MTE classes of the selected systems.

  3. Choose Assign Central Auto-Reaction Method. The system then immediately displays the corresponding assignments in the lower subscreen.

Perform these steps for all desired central auto-reaction methods.

Assigning a Central Auto-Reaction Method from the Alert Monitor

In practice, of the procedures described here, you will use the assignment of MTE classes to a central auto-reaction method most frequently. To make this procedure simpler, you can also call it directly from the Alert Monitor (transaction RZ20).

  1. Start the Alert Monitor by calling transaction RZ20.

  2. Activate maintenance functions by choosing Start of the navigation pathExtras Next navigation step Activate Maintenance FunctionsEnd of the navigation path.

  3. Expand the monitor set that contains the monitor that you require, and choose Load Monitor, or double-click the desired monitor.

  4. Select the MTEs to whose MTE classes you want to assign a central auto-reaction method, and choose Start of the navigation pathEdit Next navigation step Node (MTE) Next navigation step Assignment Next navigation step Central Auto-Reaction MethodEnd of the navigation path.

  5. The Central Auto-Reactions screen appears. The desired systems and MTE classes are selected, meaning that you now only need to select the desired method.

  6. Choose Assign Central Auto-Reaction Method. The system then immediately displays the corresponding assignments in the lower subscreen.

Deleting an Assignment of a Central Auto-Reaction Method

In the lower subscreen, the system displays the existing assignments of central auto-reaction methods. To delete assignments, select one or more rows of this table and choose Delete Assignment.

Result

Alerts in the assigned MTE classes of the monitored systems now trigger an auto-reaction in the central monitoring system.

More Information

Questions and Answers

Question:

Can I see whether a central auto-reaction method is assigned to an MTE in the monitored system?

Answer:

Yes. In the Alert Monitor, select the desired MTE and choose Display Details. The system displays the Monitoring Attributes - Detail Data screen. In the General Details list, look for the Definition Status column. For a central auto-reaction method, AL_TD_DEF_CEN_CHECKED is entered here. Use the Technical View: Status Autoreaction, to find out whether a local or central auto-reaction method is set for the nodes of a monitor, and if so, which method is set.

Question:

If I assign an auto-reaction centrally and then also enter an auto-reaction method locally in the monitored system, what happens?

Answer:

CEN will reconcile the data through the agent connection after an hour at most. The locally assigned method is overwritten by the centrally assigned method.

Question:

Can I see in CEN whether alerts are waiting for central processing?

Answer:

Yes. The alert data is stored in the table CSMCENTOOL until it is processed.