Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

RedHat 5.2

(Apollo)

snmptrapd(8)


SNMPTRAPD

SNMPTRAPD

NAME
SYNOPSIS
DESCRIPTION
COMMAND LINE ARGUMENTS
SEE ALSO

NAME

snmptrapd - Receive and log snmp trap messages.

SYNOPSIS

snmptrapd [-h] [ -P ] [ -s ] [ -p port ] [ -d ] [ -e ] [ -q ] [-D] [-l [d0-7]] [-f]

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

-h

Print a usage summary and exit.

-P

Print the logged messages to stdout.

-p port

Specifies the port to run on, if the default 162 is not desired.

-s

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.

-l [d0-7]

Specifies the syslog facility to use, demon or local[0-7].

-f

Requests full object identifiers on output: .I system.sysDescr.0 will be printed as .iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0

-d

Causes the application to dump input and output packets.

-q

Causes the application to use a quicker, less verbose output form.

-D

Turn debugging output on.

-f

Don’t fork away from the caller when using syslog().

SEE ALSO

syslog(8), variables(5)



snmptrapd(8)