
16
Sun StorEdge N8200 Filer Installation, Configuration, and Service Guide • August 2000
Setting Up SNMP Traps
In order to receive the SNMP traps, perform the following configuration steps.
▼
To Enable SNMP Traps
1. Compile the RAID Manager 6.x Management Information Base (MIB) into the
Network Management Station (NMS).
a. Copy the
/etc/raid/rm6traps.mib
file to the NMS.
b. Follow the steps required by your specific NMS to compile the MIB.
Note –
The MIB is written to the standard version 1 SNMP syntax. It is designed
specifically for RAID Manager 6.x and is not applicable to other vendors’ RAID
products.
For example, if you are using Sun Domain Manager, the command
mib2schema
rm6traps.mib
creates the following files:
■
rm6traps.mib.schema
■
rm6traps.mib.oid
■
rm6traps.mib.traps
The rm6traps.mib.schema
and
rm6traps.mib.oid
files are placed in the
/opt/SUNWconn/snm/agents
directory. The
rm6traps.mib.traps
file is
appended to the
/var/opt/SUNWconn/snm/snmp.traps
file.
Start the SunNet Manager/Sun Domain Manager graphical user interface by
typing:
Where
-i
initializes the run-time management database (MDB) from structure
and instance files, both of which are implied by the configuration file:
■
/etc/snm.conf
for Solaris 1.x
■
/etc/opt/SUNWconn/snm/snm.conf
file for Solaris 2.x
When an array event occurs, the
rmscript(1M)
script takes the information passed
by
arraymon(1M)
and constructs an SNMP trap message and then sends it to the
host defined in the
/etc/osa/rmparams
file.
See the NMS documentation for more information on how to install SNMP devices.
# /opt/SUNWconn/bin/snm -i