Entering content frame

Process documentation Sending and Receiving Alerts Using SNMP Traps Locate the document in its SAP Library structure

Purpose

With the CCMS monitoring architecture, SAP has a flexible management platform for monitoring and managing complex system landscapes of SAP and non-SAP components. The SNMP functions, among other things, are available to you for communicating with external system management programs and monitored components.

SNMP (Simple Network Management Protocol) is the de facto standard for managing networks and their components. For the monitoring architecture, it allows both communication with external management platforms and monitoring of SNMP-compatible devices. The following options are available for communication:

·        Sending SNMP Traps as Auto-Reaction Methods

The monitoring attributes of the monitoring architecture can be assigned methods. A method can be a report, a function module, an SAP transaction, or a URL that is triggered in certain situations.

An auto-reaction method can be used to send SNMP traps and the associated notification to external management platforms. If an alert occurs, the monitoring architecture starts the method which collects the required information and sends the trap to the external management platform.

·        Sending SNMP Traps as a Function of the CCMS Agents

When sending SNMP traps using CCMS agents, an SNMP traps is sent for all alerts in the agent’s segment. When sending using agents, the agent itself sends the traps instead of starting a new process for each alert (as is the case when sending using auto-reactions).

·        Receiving SNMP Traps as a Function of the CCMS Agents

You can use CCMS agents to receive SNMP traps. These are displayed in a log attribute in a separate context in the segment of the receiving agent, sorted by the sending hosts.

Prerequisites

·        To be able to send alerts as SNMP traps using an auto-reaction method, you require the package SNMPLIB, which is available as of SAP Web AS 6.10 (see also SAP Note 585110).

·        To be able to send or receive SNMP traps using CCMS agents, you require a CCMS agent with the release SAP Web AS 6.40.

Process Flow

Sending SNMP Traps as Auto-Reaction Methods

Use this type of sending if you only want to send alerts for individual nodes as SNMP traps. To do this, perform the following steps (for a more detailed description of the steps, see Setting Up the Sending of SNMP Traps as Auto-Reaction Methods):

       1.      Download the archive SNMPLIB_<Version>.SAR from the SAP Service Marketplace (http://service.sap.com/swdc), and decompress the archive.

       2.      To be able to use the auto-reaction methods for sending SNMP traps, copy the content of the for_central_system directory to the $DIR_EXECUTABLE of all application servers of the central monitoring system.

       3.      Adjust the auto-reaction method in the central system – specify above all where the SNMP traps are to be sent. Use CCMS_OnAlert_SNMP_TRAPto send SNMP version 1 and 2c traps to exactly one recipient. Otherwise, use CCMS_OnAlert_SNMP_TRAP_CFG.

       4.      Assign the auto-reaction method to the nodes in the alert monitor for which you want alerts to be sent as SNMP traps.

Sending SNMP Traps as a Function of the CCMS Agents

Use this type of sending if you want to send all monitoring architecture alerts as SNMP traps. To do this, perform the following steps (for a more detailed description of the steps, see Setting Up the Sending and Receiving of SNMP Traps Using CCMS Agents):

...

       1.      Adjust the configuration file for sending SNMP traps. Among other things, you define in the configuration file the recipient and the port to which, and the protocol with which the traps are to be sent (see Adjusting the Configuration File for Sending SNMP Traps).

       2.      Specify the complete path of the configuration file for sending SNMP traps in the configuration file of the CCMS agent SAPCCMSR.INI under the parameter TrapSendFile.

       3.      To have the change in SAPCCMSR.INI take effect, restart the agent.

Receiving SNMP Traps as a Function of the CCMS Agents

Use only one agent to receive SNMP traps in your landscape (for a detailed description of the steps, see Setting Up the Sending and Receiving of SNMP Traps Using CCMS Agents):

...

       1.      Adjust the configuration file for receiving SNMP traps. Among other things, you define in the configuration file the port at which the recipient is to listen (see Adjusting the Configuration File for Receiving SNMP Traps).

       2.      Specify the complete path of the configuration file for receiving SNMP traps in the configuration file of the CCMS agent SAPCCMSR.INI under the parameter TrapReceiveFile.

       3.      To have the change in SAPCCMSR.INI take effect, restart the agent. The received SNMP traps are now displayed in the alert monitor (see Displaying Received SNMP Traps in the Alert Monitor).

 

Leaving content frame