How to configure CA SystemEDGE to send SNMP V1 traps to a SNMP manager by configuring trap_community.

Document ID : KB000023391
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

How do I configure CA SystemEDGE to send SNMP V1 traps to a SNMP manager?

Environment:  

ANY

Answer: 

The sysedge.cf file contains definitions for SNMPv1 trap communities, which tell the CA SystemEDGE agent where to send SNMPv1 trap messages. You can configure the agent to send traps to any number of management systems. The CA

SystemEDGE installation lets you define SNMPv1 trap communities. You can define additional communities as described in this section. 


For each management system to which you want to send SNMPv1 traps, add a line specifying either the IP address or host name:

trap_community community-name [ip address - hostname] [port-number]

You can also specify a port number to send the trap to. If a port number is not specified, the default trap port 162 is used.

For example, add the following lines to send traps with a community-name of mycommunity to two systems, one with the IP address 10.16.5.26 and the other with the hostname atlanta-noc and port number 1692:


trap_community mycommunity 10.16.5.26
trap_community mycommunity atlanta-noc 1692

Modify the CA SystemEDGE agents run-time sysedge.cf in the data_directory  

Windows default location,

C:\Users\Public\CA\SystemEDGE\port1691

Unix default location,

/opt/CA/SystemEDGE/config/port1691

Make the modifications of your custom trap_community hosts.

(All changes will not take affect until the agent is restarted)
On Windows the Agent can be restarted by bringing up the windows services gui,

services.msc

CA SystemEDGE (Choose restart)

Or on Unix you can restart systemedge

by using /etc/init.d/CA-Systemedge restart