summaryrefslogtreecommitdiffstats
path: root/rules/net-snmp.in
blob: 95b7d4369d8f5052dec52e42f7b4198747edcf40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
## SECTION=networking
menuconfig NET_SNMP
	tristate
	prompt "net-snmp                      "
	select LIBC_M
	select GCCLIBS_GCC_S	if NET_SNMP_AGENT
	select LIBC_DL		if NET_SNMP_AGENT || NET_SNMP_APPLICATIONS
	select LIBNL		if NET_SNMP_AGENT || NET_SNMP_APPLICATIONS

if NET_SNMP

config NET_SNMP_MINI_AGENT
	bool
	default y
	prompt "minimal agent"

config NET_SNMP_AGENT
	bool
	prompt "agent (snmpd)"

config NET_SNMP_APPLICATIONS
	bool
	prompt "apps (snmpget, ...)"

config NET_SNMP_SCRIPTS
	bool
	prompt "scripts (mib2c, ...)"

config NET_SNMP_MIBS
	bool
	prompt "mib files"

config NET_SNMP_MIB_LOADING
	bool
	prompt "include code that parses and manipulates mib files"

config NET_SNMP_SNMPV1
	bool
	prompt "support for SNMPv1"

config NET_SNMP_SNMPV2C
	bool
	prompt "support for SNMPv2c"

config NET_SNMP_DES
	bool
	prompt "DES encryption"

config NET_SNMP_MD5
	bool
	prompt "MD5 authentication"

config NET_SNMP_SNMPTRAPD
	bool
	prompt "agentx subagent code in snmptrapd"

config NET_SNMP_LOCAL_SMUX
	bool
	prompt "restrict SMUX connections to localhost (by default)"

choice
	prompt "debugging"
	default NET_SNMP_DEFAULT_DEBUGGING

config NET_SNMP_DEFAULT_DEBUGGING
	bool
	prompt "default"
	help
	  Use default debugging, selectable via -D on the command-line.

config NET_SNMP_FORCE_DEBUGGING
	bool
	prompt "enforce"
	help
	  Always print all debugging even when not specified on command-line.

config NET_SNMP_STRIP_DEBUGGING
	bool
	prompt "strip"
	help
	  Strip debugging code entirely.

endchoice

config NET_SNMP_DEVELOPER
	bool
	prompt "super-duper-extra-compile-warnings using gcc"

config NET_SNMP_DEFAULT_VERSION
	prompt "default SNMP version: 1, 2 (for SNMPv2c), or 3"
	string
	default	"3"

config NET_SNMP_LOGFILE
	prompt "logfile location"
	string
	default	"/var/log/snmpd.log"

config NET_SNMP_PERSISTENT_DIR
	prompt "persistent data storage directory"
	string
	default	"/var/net-snmp"

config NET_SNMP_MIB_MODULES
	prompt "additional mib modules"
	string
	default	""

config NET_SNMP_DEFAULT_MIBS
	prompt "default mib id's to read"
	string
	default	"SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB"
	help
	  Colon separated list of default mib IDs to read. (The default list
	  is "SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB" with the addition of
	  any mibs used by the mib modules the agent is configured with)

config NET_SNMP_MIB_INSTALL_DIR
	prompt "directory to install mib files"
	string
	default	"/usr/share/snmp/mibs"

config NET_SNMP_DOM_SOCK_ONLY
	bool "Disable UDP/TCP transports for agentx" if NET_SNMP_AGENT
	default y
	help
	  Enable this to disable TCP and UDP connections for subagent
	  connections with AgentX protocol. Only unix socket connections are
	  allowed then.
endif