Avago Technologies MegaRAID Fast Path Software User Manual
Page 299

LSI Corporation Confidential
|
July 2011
Page 299
MegaRAID SAS Software User Guide
Chapter 6: MegaRAID Storage Manager Overview and Installation
|
Installing and Configuring an SNMP Agent
The following commands are used to start, stop, restart, and check the status of the SAS
SNMP Agent daemon:
Start: #/etc/init.d/lsi_mrdsnmpd start
Stop: #/etc/init.d/lsi_mrdsnmpd stop
Restart: #/etc/init.d/lsi_mrdsnmpd restart
Status: #/etc/init.d/lsi_mrdsnmpd status
6.7.4.5
Configuring the
snmpd.conf File
By default, you can run the SNMP queries (walk, get) from any remote machine without
any changes to the snmpd.conf file. To quickly add a new community and client
access, perform the following steps:
1. Stop the SMA service by running the following command:
# svcadm disable svc:/application/management/sma:default
2. Add read-only and read-write community names.
a. Add a read-only community name and client/hostname/ipaddress under
SECTION: Access Control Setup
in the /etc/sma/snmp/snmpd.conf
file, as shown in the following excerpt.
#################################################
# SECTION: Access Control Setup
# This section defines who is allowed to talk to
# your running SNMP Agent.
# rocommunity: a SNMPv1/SNMPv2c read-only access
# community name
# arguments: community
# [default|hostname|network/bits] [oid]
# rocommunity snmpclient 172.28.157.149
#################################################
b. Add a readwrite community name and client, hostname, ipaddress under
SECTION: Access Control Setup
in /etc/sma/snmp/snmpd.conf file,
as shown in the following excerpt.
#################################################
# SECTION: Access Control Setup
# This section defines who is allowed to talk to your
# running snmp agent.
# rocommunity: a SNMPv1/SNMPv2c read-only access
# community name
# arguments: community
# [default|hostname|network/bits] [oid]
# rwcommunity snmpclient 172.28.157.149
#################################################
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.
- MegaRAID SAS 9240-4i MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SafeStore Software MegaRAID SAS 9361-4i MegaRAID SAS 9361-8i MegaRAID SAS 9266-4i MegaRAID SAS 9266-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID CacheCade Pro 2.0 Software MegaRAID SAS 9341-4i MegaRAID SAS 9341-8i MegaRAID SAS 9380-8e MegaRAID SAS 9380-4i4e