Installation : Installing and Configuring an SNMP Agent : Installing and Configuring an SNMP Agent on the Solaris Operating System : Configuring SNMP Traps

Configuring SNMP Traps

To receive SNMP traps, perform the following steps:

1.

Stop the LSI SAS SNMP Agent by using the following command:

#/etc/init.d/lsi_mrdsnmpd stop

2.

Edit the /etc/lsi_mrdsnmp/sas/sas_TrapDestination.conf file, and add the IP address as the following excerpt shows:

#################################################

# Agent Service needs the IP addresses to sent trap

# The trap destination may be specified in this file # or using snmpd.conf file.

Following indicators can # be set on "TrapDestInd" to instruct the agent to

# pick the IPs as the destination.

# 1 - IPs only from snmpd.conf

# 2 - IPs from this file only

# 3 - IPs from both the files

#################################################

TrapDestInd 2

#############Trap Destination IP##################

127.0.0.1 public

172.28.157.149 public

#################################################

3.

Start the LSI SAS SNMP Agent by entering the following command:

#/etc/init.d/lsi_mrdsnmpd start