NAME
SNMPTRAPD-SIMPLE - Simple SNMP Trap Server
SYNOPSIS
snmptrapd-simple [options]
DESCRIPTION
Listens for SNMP traps and logs to console and optional file. Can decode SNMP v1 and v2c traps and v2c InformRequest (will send Response PDU). Output columns are:
Source IP Address
Source UDP port
SNMP version
SNMP community
PDU Type
(Version 1) (Version 2c)
Enterprise OID Request ID
Agent IP Address Error Status
Trap Type Error Index
Specific Trap
Timeticks
Varbinds (OID: val; [...])
OPTIONS
-4 Force IPv4.
-6 Force IPv6 (overrides -4).
-d <dir> Output file directory.
--directory DEFAULT: (or not specified) [Current].
-D Use Net::SNMPTrapd->dump() method.
--Dump DEFAULT: (or not specified) [Decode trap].
-H Print hex dump of trap PDU - do not decode.
--Hexdump DEFAULT: (or not specified) [Decode trap].
-i # UDP Port to listen on.
--interface DEFAULT: (or not specified) 162.
-t Print time in human-readable yyyymmddhhmmss format.
--time DEFAULT: (or not specified) Unix epoch.
-w Log to "snmptrapd.log".
LICENSE
This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.
AUTHOR
Copyright (C) Michael Vincent 2010
All rights reserved