Table of Contents

NAME

snmptrapd - Receive and log snmp trap messages.

SYNOPSIS

snmptrapd [ -v 1 ] [ -p ] [ -s ]

DESCRIPTION

Snmptrapd is an SNMP application that receives and logs snmp trap messages sent to the SNMP-TRAP port (162) on the local machine.

If the -p option is given, snmptrapd will print it's messages to the standard output.

If the -s option is given snmptrapd will use syslog(8) to log messages. These syslog messages are sent with the level of LOG_WARNING, and are if available (usually on 4.3 systems) are sent to the LOG_LOCAL0 facility.
Remark: this option is a noop. Writing to syslog is default.

The option -v 1 should be specified to receive and log V1 traps (eg. sent by snmptrap(1) ).
Remark: this option is a dummy. V1 traps are the default.

The log messages are of the form:
Sep 17 22:39:52 suffern snmptrapd: 128.2.13.41: Cold Start Trap (0) Uptime: 8 days, 0:35:46

Snmptrapd must be run as root so that UDP port 162 can be opened.

Adding a "-d" to the argument list will cause the application to dump input and output packets.

SEE ALSO

syslog(8) , variables(5) , RFC 1155, RFC 1156, RFC 1157, SNMP Security Internet Drafts


Table of Contents