receive SNMP TRAP messages
snmptrapd [-d] [-p] [-p port] [-v 1|2]
The snmptrapd utility receives SNMP TRAP messages sent to the snmp-trap port on the local machine. If you specify -p, snmptrapd prints messages to standard output. The messages are of the form:
------------------------ Notification ------------------------ 10.0.0.59: Cold Start Trap (0) Uptime: 1 day, 6:11:24 system.sysDescr.0 = "SUN 3/60: SUNOS4.0"
You must have superuser privileges when you run snmptrapd.
This ID:
system.syscontact.0
will be printed as:
syscontact.0
This ID:
udp.udpTable.udpEntry.udpLocalAddress.0.0.0.161
will be printed as:
udpLocalAddress.0.0.0.161
snmpd,
snmpget,
snmpgetnext,
snmpnetstat,
snmpstatus,
snmptest,
snmptrap,
snmpwalk
/etc/acl.conf file,
/etc/context.conf file,
/etc/mib.txt file,
/etc/party.conf file,
/etc/snmpd.conf file,
/etc/view.conf file
RFC 1065, RFC 1066, RFC 1067
RFC 1441, RFC 1445, RFC 1446
RFC 1448, RFC 1449
Marshall T. Rose, The Simple Book: An Introduction to
Internet Management, Revised 2nd ed. (Prentice-Hall,
1996, ISBN 0-13-451659-1)