To receive SNMP traps, perform the following steps:
#/etc/init.d/lsi_mrdsnmpd stop
2.
Edit the /etc/lsi_mrdsnmp/sas/sas_TrapDestination.conf file, and add the Ip address as shown in the following excerpt.
#################################################
# 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
#################################################
############# Trap Destination IP #################
# add port no after IP address with no
# Alternatively, you can also use
# in snmpd.conf to send the SNMP trap
# custom port, else default SNMP trap
145.147.201.88:1234 testComm #################################################
NOTE Solaris also supports Custom community support.
3.
If in case, ’TrapDestInd’ above is set to 1, IP addresses shall be taken from /etc/sma/snmp/snmpd.conf file in the following format: ’com2sec snmpclient 172.28.157.149 public’ ’Trapsink’ and ’TrapCommunity’tokens are supported for sending customised SNMP traps
NOTE In Solaris 11 x86, the file will be taken from /etc/net-snmp/snmp/snmpd.conf.
DB09 000202 -15 37857 -02, Rev P, June, 2013 |
Copyright© 2013 by LSI Corporation. All rights reserved. |