| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta name="generator" content= |
| "HTML Tidy for Windows (vers 1st October 2003), see www.w3.org" /> |
| <meta content="text/html; charset=us-ascii" http-equiv= |
| "content-type" /> |
| <title>snmptrapd.conf.win32</title> |
| </head> |
| <body> |
| <h1>snmptrapd.conf Win32 options</h1> |
| The following snmptrapd.conf options are available in this build of |
| Net-SNMP:<br /> |
| <br /> |
| <span style="font-family: monospace;"> In snmptrapd.conf and |
| snmptrapd.local.conf:<br /> |
| |
| traphandle |
| oid|"default" program [args ...]<br /> |
| |
| format1 |
| format<br /> |
| |
| format2 |
| format<br /> |
| |
| format |
| [print{,1,2}|syslog{,1,2}] format<br /> |
| |
| forward |
| OID|"default" destination<br /> |
| |
| createUser |
| username (MD5|SHA) passphrase [DES [passphrase]]<br /> |
| |
| snmpTrapdAddr |
| string<br /> |
| |
| doNotLogTraps |
| (1|yes|true|0|no|false)<br /> |
| |
| pidFile |
| string<br /> |
| |
| logOption |
| string<br /> |
| |
| doNotFork |
| (1|yes|true|0|no|false)<br /> |
| |
| printEventNumbers |
| (1|yes|true|0|no|false)<br /> |
| |
| ignoreAuthFailure |
| (1|yes|true|0|no|false)<br /> |
| |
| outputOption |
| string<br /> |
| |
| authtrapenable |
| 1 | 2 (1 = enable, 2 = |
| disable)<br /> |
| |
| trapsink |
| host [community] [port]<br /> |
| |
| trap2sink |
| host [community] [port]<br /> |
| |
| informsink |
| host [community] [port]<br /> |
| |
| trapsess |
| [snmpcmdargs] host<br /> |
| |
| trapcommunity |
| community-string<br /> |
| |
| agentaddress |
| SNMP bind address<br /> |
| |
| quit |
| (1|yes|true|0|no|false)<br /> |
| |
| leave_pidfile |
| (1|yes|true|0|no|false)<br /> |
| dontLogTCPWrappersConnects |
| (1|yes|true|0|no|false)<br /> |
| |
| injectHandler |
| injectHandler NAME INTONAME [BEFORE_OTHER_NAME]<br /> |
| |
| table |
| tableoid<br /> |
| |
| add_row |
| table_name indexes... values...<br /> |
| |
| agentxsocket |
| AgentX bind address<br /> |
| |
| master |
| specify 'agentx' for AgentX support<br /> |
| |
| agentxperms |
| AgentX socket permissions: socket_perms [directory_perms |
| [username|userid [groupname|groupid]]]<br /> |
| |
| agentxRetries |
| AgentX Retries<br /> |
| |
| agentxTimeout |
| AgentX Timeout (seconds)<br /> |
| |
| com2sec |
| [-Cn CONTEXT] secName IPv4-network-address[/netmask] |
| community<br /> |
| |
| agentSecName |
| string<br /> |
| |
| iquerySecName |
| string<br /> |
| |
| iqueryVersion |
| 1 | 2c | 3<br /> |
| |
| iquerySecLevel |
| noAuthNoPriv | authNoPriv | authPriv<br /> |
| |
| group |
| name v1|v2c|usm|... security<br /> |
| |
| access |
| name context model level prefix read write notify<br /> |
| |
| setaccess |
| name context model level prefix viewname viewval<br /> |
| |
| view |
| name type subtree [mask]<br /> |
| |
| authcommunity |
| authtype1,authtype2 community [default|hostname|network/bits |
| [oid|-V view]]<br /> |
| |
| authuser |
| authtype1,authtype2 [-s secmodel] user [noauth|auth|priv [oid|-V |
| view]]<br /> |
| |
| authgroup |
| authtype1,authtype2 [-s secmodel] group [noauth|auth|priv [oid|-V |
| view]]<br /> |
| |
| authaccess |
| name authtype1,authtype2 [-s secmodel] group view [noauth|auth|priv |
| [context|context*]]<br /> |
| |
| rwcommunity |
| community [default|hostname|network/bits [oid]]<br /> |
| |
| rocommunity |
| community [default|hostname|network/bits [oid]]<br /> |
| |
| rwuser |
| user [noauth|auth|priv [oid]]<br /> |
| |
| rouser |
| user [noauth|auth|priv [oid]]<br /> |
| |
| defDomain |
| application domain<br /> |
| |
| defTarget |
| application domain target<br /> |
| |
| engineID |
| string<br /> |
| |
| engineIDType |
| num<br /> |
| |
| engineIDNic |
| string<br /> |
| In agentx.conf and agentx.local.conf:<br /> |
| |
| agentxsocket |
| AgentX bind address<br /> |
| |
| agentxperms |
| AgentX socket permissions: socket_perms [directory_perms |
| [username|userid [groupname|groupid]]]<br /> |
| |
| agentxRetries |
| AgentX Retries<br /> |
| |
| agentxTimeout |
| AgentX Timeout (seconds)<br /> |
| <br /></span> |
| </body> |
| </html> |