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)
injectHandler
injectHandler NAME INTONAME [BEFORE_OTHER_NAME]
table
tableoid
add_row
table_name indexes... values...
com2sec
[-Cn CONTEXT] secName IPv4-network-address[/netmask]
community
createUser
username (MD5|SHA) passphrase [DES [passphrase]]
group
name v1|v2c|usm|... security
access
name context model level prefx read write notify
view
name type subtree [mask]
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]]
master
specify 'agentx' for AgentX support
agentxsocket
AgentX bind address
agentxperms
AgentX socket permissions: socket_perms [directory_perms
[username|userid [groupname|groupid]]]
agentxRetries
AgentX Retries
agentxTimeout
AgentX Timeout (seconds)
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
agentSecName
string
notificationEvent
notificationEvent NAME TRAP_OID [[-w] EXTRA_OID ...]
linkUpDownNotifications
linkUpDownNotifications (yes|no)
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)