SNMPTRAPD (8)
Receive and log snmp trap messages.
SYNOPSIS
snmptrapd [-h] [-P] [-s] [-p port] [-d] [-e] [-D tokens] [-l [d0-7]] [-f] [-H] [-a] [-O oidopts] [-C] [-c confFile]
DESCRIPTION
Snmptrapd
is an SNMP application that receives and logs snmp trap messages
sent to the SNMP-TRAP port (162) on the local machine.
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.
COMMAND LINE ARGUMENTS
Print a usage summary and exit.
Print the logged messages to stdout.
Specifies the port to run on, if the default 162 is not desired.
Log the messages to syslog(8). These syslog messages are sent with
the level of LOG_WARNING, and to the LOG_LOCAL0 facility (by
default). The demon will also fork away from its caller when
the syslog facilities are used.
This is the default unless the '-P' flag is used.
Specifies the syslog facility to use, demon or local[0-7].
makes
snmptrapd
ignore AuthenticationFailure traps
Causes the application to dump input and output packets.
Turn debugging output on.
Don't fork away from the caller when using syslog().
Set OID printing options (see snmpcmd(1))
Don't read the default set of configuration files.
Force the reading of confFile as a configuration file.
EXTENSIBILITY AND CONFIGURATION
See the snmpdtrapd.conf(5) manual page.
SEE ALSO
|
|