Entering content frame

Procedure documentation Setting Up the Sending and Receiving of SNMP Traps Using CCMS Agents Locate the document in its SAP Library structure

Use

Simple Network Management Protocol (SNMP) functions are also integrated into the monitoring architecture. This enables both communication with external management platforms and monitoring of SNMP-compatible devices. In this situation, SNMP traps are always to be sent if an Structure linkalert occurs in particular nodes.

You can send and receive SNMP traps with CCMS agents. When sending SNMP traps using CCMS agents  – unlike Structure linkSending SNMP Traps as an Auto-Reaction Method – 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).

Note

When receiving SNMP traps, it is useful to select only one agent as the trap recipient, which receives SNMP traps for the entire system landscape.

Prerequisites

The possibility of sending and receiving SNMP traps using CCMS agents is available as of CCMS agents of the SAP Web Application Server 6.40.

Procedure

       1.      Adjust the relevant configuration file. You define here, among other things, the recipient to which the SNMP traps are to be sent or the port at which SNMP traps are to be received. For more detailed information about this, see:

¡        Adjusting the Configuration File for Sending SNMP Traps

¡        Adjusting the Configuration File for Receiving SNMP Traps

       2.      Specify the complete path of the required configuration files in the SAPCCMSR.INI configuration file of the CCMS agents. To do this, set the following parameters, depending on whether you want to send or receive the SNMP traps:

Parameter

Description

trapSendFile

Complete path of the configuration file for sending SNMP traps

trapReceiveFile

Complete path of the configuration file for receiving SNMP traps

Note

Ensure that the configuration files for sending or receiving the SNMP traps contain a complete path of the directory in which the Management Information Base (MIB) files are stored with the value of the parameter MIB_DIR. Ensure that the agent can access these files.

       3.      To have the change in SAPCCMSR.INI take effect, restart the agent (see Controlling CCMS Agents). Use the following commands to do this:

Platform

Command

Microsoft Windows

Stop and restart the agent by stopping and restarting the associated service.

UNIX

Stop the agent with the command:
<agent name> -stop [pf=<profile path>]

Then restart the agent with the command:
<agent name> -DCCMS [pf=<profile path>]

Result

You can now send alerts in the monitoring segment of a CCMS agent as SNMP traps and receive SNMP traps using CCMS agents (see Displaying Received SNMP Traps in the Alert Monitor).

This graphic is explained in the accompanying text Structure linkSending and Receiving Alerts Using SNMP Traps and CCMS Agents start pages

 

Leaving content frame