ASRock X99 Extreme11 LSI Mega RAID Storage Manager Guide - Page 18
Configuring snmpd.conf
View all ASRock X99 Extreme11 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 18 highlights
• Restart: # svcadm restart svc:/application/management/sma:default • Status: # svcs svc:/application/management/sma:default 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: • 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 Configuring snmpd.conf By default, the SNMP queries (walk, get) can be executed 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 executing 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 read-write 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] # rwcommunity snmpclient 172.28.157.149 3. Start the SMA service by using the following command: Page 18 DB09-000202-05 37857-02 Installation Rev. F - May 2011 Copyright © 2011 by LSI Corporation. All rights reserved.