LSI Corporation
- 224 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 7: MegaRAID Storage Manager Overview and Installation
Installing and Configuring an SNMP Agent
Start: # svcadm enable svc:/application/management/sma:default
Stop: # svcadm disable svc:/application/management/sma:default
Restart: # svcadm restart svc:/application/management/sma:default
Status: # svcs svc:/application/management/sma:default
The following commands are used to start, stop, restart, and check the status of the Solaris System Management
Agent (net snmpd) daemon on Solaris 11 x86:
Start: # svcadm enable svc:/application/management/net-snmp
Stop: # svcadm disable svc:/application/management/net-snmp
Restart: # svcadm restart svc:/application/management/net-snmp
Status: # svcs svc:/application/management/net-snmp
NOTE Online indicates that the SMA is started. Disabled indicates that
the SMA is stopped.
The following commands are used to start, stop, restart, and check the status of the SAS SNMP Agent daemon on
Solaris 10 x86, Solaris 10 SPARC, and Solaris 11 x86:
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
7.6.5.5 Configuring snmpd.conf
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
#################################################
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.conffile as shown in the
above excerpt.
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