
A-96 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
traps
trapname[.parameter
value
| on | off | reset | delete]
affects a specified trap. It assigns a parameter and value, or turns it
on or off, or resets or deletes it.
You can trap on any MIB variable, but to do so you need a trap data
parser function at the traphost application or a management script
to interpret the TRAP name, OID value fields, and so on.
EXAMPLES
A typical set of snmp commands in the /etc/rc file will look like the following:
snmp contact Network Manager
snmp location Bldg 2. Lab 3a
snmp community add ro private
snmp traphost add snmp-mgr1
snmp traphost add snmp-mgr2
snmp init 1
FILES
/etc/rc startup command script where snmp commands must be added
/etc/hosts hosts name database
SEE ALSO
autosupport, snmpd, rc
snmp