Here is my snmptrapd.conf
###########################################################################
#
- snmptrapd.conf
#
- - created by the snmpconf configuration program
#
###########################################################################
- SECTION: Authentication options
#
- Authentication options
- ignoreauthfailure: Ignore authentication failure traps
- arguments: (1|yes|true|0|no|false)
ignoreauthfailure 0
###########################################################################
- SECTION: Output formatting for traps received.
#
- Output from snmptrapd is formatted according to the
- rules defined by the formatting configuration directives.
- format2: How SNMPv2 and SNMPv3 traps are formatted.
- See the snmptrapd.conf manual page for format string details.
- arguments: formatstring
format2 stderr
###########################################################################
- SECTION: Logging options
#
- Logging options
- donotlogtraps: Prevent traps from being logged
- Useful when you only want to use traphandles
- arguments: (1|yes|true|0|no|false)
donotlogtraps 1
- logoption: Set options controlling where to log to
- See -L options in the snmptrapd.conf man page
logoption "-Lf D:\IPSLogs\trapsnmp.txt"
###########################################################################
- SECTION: Trap Handlers
#
- Here we define what programs are run when a trap is
- received by the trap receiver.
- traphandle: When traps are received, a program can be run.
- When traps are received, the list of configured trap
- handles is consulted and any configured program is run.
- If no handler is found, any handler with "default" as the
- traphandle type is run instead. The information contained
- in trap is passed to the program via standard input (see
- the snmptrapd.conf manual page for details).
-
- arguments: oid|"default" program args
traphandle default
snmp.conf
###########################################################################
#
- snmp.conf
#
- - created by the snmpconf configuration program
#
###########################################################################
- SECTION: Default Authentication Options
#
- This section defines the default authentication
- information. Setting these up properly in your
- ~/.snmp/snmp.conf file will greatly reduce the amount of
- command line arguments you need to type (especially for snmpv3).
- defaultport: The default port number to use
- This token specifies the default port number you want packets to
- be sent to and received from.
- override: with -p on the command line.
- arguments: portnum
defaultport
- defversion: The default snmp version number to use.
- override: with -v on the command line.
- arguments: 1|2c|3
defversion 2c
###########################################################################
- SECTION: Textual mib parsing
#
- This section controls the textual mib parser. Textual
- mibs are parsed in order to convert OIDs, enumerated
- lists, and ... to and from textual representations
- and numerical representations.
- mibdirs: Specifies directories to be searched for mibs.
- Adding a '+' sign to the front of the argument appends the new
- directory to the list of directories already being searched.
- arguments: [+]directory[:directory...]
mibdirs C:/usr/share/snmp/mibs
#
- Unknown directives read in from other files by snmpconf
#
persistentDir C:/usr/snmp/persist
tempFilePattern C:/usr/temp/snmpdXXXXXX