DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

trap_rece(ADMN)


trap_rece -- receive traps from remote trap generating entity

Syntax

trap_rece [ -d ]

Description

trap_rece is a program to receive traps from remote SNMP trap generating entities. It binds to the SNMP trap port (udp/162) to listen for the traps and thus must be run as root. It prints to standard output messages corresponding to the traps it has received. The primary purpose of this program is to demonstrate how traps are parsed using the SNMP library.

If the -d option is used, trap_rece prints out the contents of received trap messages.

See also

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

Standards conformance

trap_rece 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