snmpd.conf Win32 options
The following snmpd.conf options are available in this build of
Net-SNMP:
In snmpd.conf and
snmpd.local.conf:
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
createUser
username (MD5|SHA) passphrase [DES [passphrase]]
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]]
sysdescr
description
syslocation
location
syscontact
contact-name
sysname
node-name
sysservices
NUMBER
sysobjectid
OID
setserialno
integer
proc
process-name [max-num] [min-num]
procfix
process-name program [arguments...]
pass
miboid command
pass_persist
miboid program
load
max1 [max5] [max15]
exec
[miboid] name program arguments
sh
[miboid] name program-or-script arguments
execfix
exec-or-sh-name program [arguments...]
file
file [maxsize]
proxy
[snmpcmd args] host oid [remoteoid]
override
[-rw] mibnode type value
monitor
[options] monitor_expression [see "man snmpd.conf"]
defaultMonitors
yes|no
notificationEvent
notificationEvent NAME TRAP_OID [[-w] EXTRA_OID ...]
linkUpDownNotifications
linkUpDownNotifications (yes|no)
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)