summaryrefslogtreecommitdiffstats
path: root/rules/net-snmp.in
blob: 964cec7ed4207bfc1a531086ccc77a05110e2a60 (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
## 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 NET_SNMP_MD5
#	^ build fix for 5.6.1 (see http://sourceforge.net/tracker/index.php?func=detail&aid=3184697&group_id=12694&atid=112694)

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	""

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

endif