内に含ま
その他のドキュメント
サポート リソース
| PDF 文書ファイルをダウンロードする
- APPENDIX C
Installing and Setting Up SNMP Traps
- This appendix describes how to install and set up SNMP traps. A SNMP trap is an asynchronous message to a specific monitor.
- The Event Generator can send SNMP traps to applications that listen for SNMP traps, such as Solstice Site Manager(TM) and Solstice Domain Manager(TM). Traps include information about events on the system that may be useful when running a Solstice Site Manager and Solstice Domain Manager console.
Installing SNMP Traps
-
Note - Before you begin this procedure, make sure you know the machine name of the snmphost and the IP address. You will need to enter this information when you install SNMP traps.
- To install SNMP version 2.2.3 packages on the machine named snmphost, refer to the SNMP installation menu.
· To Install SNMP Traps
-
-
Make sure the software that receives SNMP traps is installed and configured.
-
On the machine snmphost, copy the following three files in the
/opt/SUNWsymon/etc/snm directory on the event host to the /opt/SUNWconn/agents directory as superuser. This is the default SNMP directory.
-
-
· symon.mib.oid
· symon.mib.traps
· symon.mib.schema
-
-
Alter the snmp_hosts variable by running the following command on the host:
-
# /opt/SUNWsymon/sbin/sm_confsymon -e server_host -S "snmp host1" -S "snmp host2"
|
- where:
-
-S "list_of_snmphost" indicates a space-separated list of hosts to receive the SNMP traps.
-
-
Start the Event Generator daemon by entering:
-
# /opt/SUNWsymon/sbin/sm_control start
|
-
-
Run snm -i and select BasicStart.
Wait for the SNMP console to come up from the main menu.
-
Select Edit-->Create.
a. Make sure your "Category" is Component.
b. Select your "Type" to be WorkStation.
c. Click the Create button.
The Create Form pop-up window is displayed.
-
Type the following:
-
- Name: snmp_hostname
- IP address: snmp_hostname's IP address
- SNMP Rdcommunity: public
- SNMP Wrcommunity: public
-
-
Select the SYMONMIB check button, then click Apply.
-
-
Select the workstation icon you just created and from the main menu, select View-->Event/Trap Report.
-
-
Send test traps using this command on the event host machine:
-
# /opt/SUNWsymon/sbin/trapsend -a "1.3.6.1.4.1.42 STRING (STATUS | FAIL)"
|
- If you receive the message above in double quotes in your Event/Trap Report, you are ready to receive SNMP traps from the server.
|
|