LSI Corporation
- 225 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 7: MegaRAID Storage Manager Overview and Installation
Installing and Configuring an SNMP Agent
# running snmp agent.
# rwcommunity: a SNMPv1/SNMPv2c read-write access
# community name
# arguments: community
# [default|hostname|network/bits] [oid]
# rwcommunity snmpclient 172.28.157.149
#################################################
NOTE
In Solaris 11 x86, add a read-only community name and
client/hostname/ipaddress under "SECTION: Access Control Setup" in
the
/etc/net-snmp/snmp/snmpd.conf
file as shown in the
above excerpt.
3.
Start the SMA service by using the following command:
# svcadm enable svc:/application/management/sma:default
NOTE
Refer to the command
man snmpd.conf
for more information
about configuring the
snmpd.conf
file.
NOTE
In Solaris 11 x86, you need to start the net-snmpd daemon service, by
executing the following command:
# svcadm enable
svc:/application/management/net-snmp
7.6.5.6
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 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
# 2 - IPs from this file only
# 3 - IPs from both the files
#################################################
TrapDestInd 2
############# Trap Destination IP #################
# add port no after IP address with no
# space after
# colon to send the SNMP trap
# message to custom port.
# Alternatively, you can also use
# trapsink command
# in snmpd.conf to send the SNMP trap
# message to
# custom port, else default SNMP trap
# port 162 shall be used.
127.0.0.1 public
Содержание ThinkServer RD650
Страница 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Страница 417: ......
Страница 418: ......