snmptrapd.conf Win32 options
The following snmptrapd.conf options are available in this build of
Net-SNMP:
In snmptrapd.conf and
snmptrapd.local.conf:
traphandle
oid|"default" program [args ...]
format1
format
format2
format
format
[print{,1,2}|syslog{,1,2}] format
forward
OID|"default" destination
createUser
username (MD5|SHA) passphrase [DES [passphrase]]
snmpTrapdAddr
string
doNotLogTraps
(1|yes|true|0|no|false)
pidFile
string
logOption
string
doNotFork
(1|yes|true|0|no|false)
printEventNumbers
(1|yes|true|0|no|false)
ignoreAuthFailure
(1|yes|true|0|no|false)
outputOption
string
authtrapenable
1 | 2 (1 = enable, 2 =
disable)
trapsink
host [community] [port]
trap2sink
host [community] [port]
informsink
host [community] [port]
trapsess
[snmpcmdargs] host
trapcommunity
community-string
agentaddress
SNMP bind address
quit
(1|yes|true|0|no|false)
leave_pidfile
(1|yes|true|0|no|false)
dontLogTCPWrappersConnects
(1|yes|true|0|no|false)
injectHandler
injectHandler NAME INTONAME [BEFORE_OTHER_NAME]
table
tableoid
add_row
table_name indexes... values...
agentxsocket
AgentX bind address
master
specify 'agentx' for AgentX support
agentxperms
AgentX socket permissions: socket_perms [directory_perms
[username|userid [groupname|groupid]]]
agentxRetries
AgentX Retries
agentxTimeout
AgentX Timeout (seconds)
com2sec
[-Cn CONTEXT] secName IPv4-network-address[/netmask]
community
agentSecName
string
iquerySecName
string
iqueryVersion
1 | 2c | 3
iquerySecLevel
noAuthNoPriv | authNoPriv | authPriv
group
name v1|v2c|usm|... security
access
name context model level prefix read write notify
setaccess
name context model level prefix viewname viewval
view
name type subtree [mask]
authcommunity
authtype1,authtype2 community [default|hostname|network/bits
[oid|-V view]]
authuser
authtype1,authtype2 [-s secmodel] user [noauth|auth|priv [oid|-V
view]]
authgroup
authtype1,authtype2 [-s secmodel] group [noauth|auth|priv [oid|-V
view]]
authaccess
name authtype1,authtype2 [-s secmodel] group view [noauth|auth|priv
[context|context*]]
rwcommunity
community [default|hostname|network/bits [oid]]
rocommunity
community [default|hostname|network/bits [oid]]
rwuser
user [noauth|auth|priv [oid]]
rouser
user [noauth|auth|priv [oid]]
defDomain
application domain
defTarget
application domain target
engineID
string
engineIDType
num
engineIDNic
string
In agentx.conf and agentx.local.conf:
agentxsocket
AgentX bind address
agentxperms
AgentX socket permissions: socket_perms [directory_perms
[username|userid [groupname|groupid]]]
agentxRetries
AgentX Retries
agentxTimeout
AgentX Timeout (seconds)