Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SNMPTRAPD-SIMPLE(1)   User Contributed Perl Documentation  SNMPTRAPD-SIMPLE(1)

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

       <http://www.VinsWorld.com>

       All rights reserved

perl v5.32.0			  2015-03-20		   SNMPTRAPD-SIMPLE(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | LICENSE | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=snmptrapd-simple.pl&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help