SNMP Manager Programmer's Guide
Programming Examples
SNMP Manager Programmer’s Guide–134249
2-94
SNMPTRAP
The default value of the manager host identifier is the IP address of the manager’s
node.
generic-trap-identifier
is one of the standard generic trap integers or string values:
0 (coldStart)
1 (warmStart)
2 (linkDown)
3 (linkUp)
4 (authenticationFailure)
5 (egpNeighborLoss)
6 (enterpriseSpecific)
The default is 0.
specific-trap-number
is an enterprise-defined integer that characterizes the trap in greater detail. The
default is 0.
timestamp
is an unsigned integer to assign to the timestamp field in the trap PDU. The default
is 0.
trap-destination-port
is the UDP destination port for the trap. The default is 162.
target-host-identifier
is the NonStop Kernel node name or IP address of the target manager’s host. Omit
the backslash when specifying a NonStop Kernel node name:
somenode
somesys.tandem.com
130.252.12.3
MIB-object
identifies the instance of a MIB object for which you want to create a variable
binding. If the object is a MIB-II object, you can refer to it by name or using the
dotted OID format; use the dotted OID format for objects that are not MIB-II
objects:
sysContact.0
1.3.6.1.2.1.25.2.2.0
You can specify as many as 16 MIB objects.