DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

trap_send(ADMN)


trap_send -- generate traps

Syntax

trap_send ip_address community trap_type [ enterprise_specific_trap_type ]

Description

trap_send is a program to send trap messages to trap monitoring stations. It takes as arguments the IP address and the community name of the monitoring station and the integer number that corresponds to the trap to be sent. Optionally, trap_send takes an integer number that corresponds to an enterprise specific trap.

Legal values for generic_trap_type are:


0
Cold Start

1
Warm Start

2
Link Down

3
Link Up

4
Authentication Failure

5
EGP Neighbor Loss

6
Enterprise Specific
The optional argument enterprise_specific_trap_type is specified when the value of generic_trap_type is 6. The meanings and values for enterprise specific trap types are defined in the corresponding enterprise specific MIBs.

See also

snmpd(ADMN), snmpd.trap(SFF), trap_rece(ADMN)

Standards conformance

trap_send is conformant with:

RFC 1155 (STD 16), RFC 1156, RFC 1157 (STD 15), RFC 1213 (STD 17)


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003