forked from wifinigel/wiperf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.default.ini
292 lines (241 loc) · 9.96 KB
/
config.default.ini
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
; ====================================================================
; General settings - any changes to this section should only be
; made when in classic mode (not while in wiperf mode) on the WLAN Pi
; ====================================================================
[General]
; global test mode: 'wireless' or 'ethernet'
;
; wireless mode:
; - test traffic runs over wireless interface
; - management traffic (i.e. result data) sent over interface specified in mgt_if parameter
; ethernet mode:
; - test traffic runs over ethernet interface
; - management traffic (i.e. result data) sent over interface specified in mgt_if parameter
;
probe_mode: wireless
; ------------- ethernet mode parameters ------------
; eth interface name - set this as per the output of an ifconfig command (usually eth0)
eth_if: eth0
; ---------------------------------------------------
; ------------- wireless mode parameters ------------
; wlan interface name - set this as per the output of an iwconfig command (usually wlan0)
wlan_if: wlan0
; ---------------------------------------------------
; -------------mgt interface parameters ------------
; interface name over which mgt traffic is sent (i.e. how we get to our management
; server) - options: wlan0, eth0, ztxxxxxx (ZeroTier), lo (local instance of Influx)
mgt_if: wlan0
; ---------------------------------------------------
; --------- Common Mgt Platform Params -------
; set the data exporter type - current options: splunk, influxdb, influxdb2
exporter_type: splunk
; --------------------------------------------
; -------------- Splunk Config ---------------
; IP address (ipv4 or ipv6) or hostname of Splunk host
splunk_host:
; Splunk collector port (8088 by default)
splunk_port: 8088
; Splunk token to access Splunk server created by Splunk (example token: 84adb9ca-071c-48ad-8aa1-b1903c60310d)
splunk_token:
;---------------------------------------------
; -------------- InFlux1 Config ---------------
; IP address (ipv4 or ipv6) or hostname of InfluxDB host
influx_host:
; InfluxDb collector port (8086 by default)
influx_port: 8086
influx_username:
influx_password:
influx_database:
;---------------------------------------------
; -------------- InFlux2 Config ---------------
; IP address or hostname of InfluxDB2 host
influx2_host:
; InfluxDB2 collector port (443 by default)
influx2_port: 443
influx2_token:
influx2_bucket:
influx2_org:
;---------------------------------------------
;----- Test Interval Info (WLAN Pi only) -----
; test interval (mins) - how often we want to run the tests (5 is the recommended minimum)
test_interval: 5
; test offset from top of hour (must be less than test interval) - 0 = top of hour, 1 = 1 min after top of hour etc.
test_offset: 0
;---------------------------------------------
; connectivity DNS lookup - site used for initial DNS lookup when assessing if DNS working OK
connectivity_lookup: google.com
; location label for report filtering (if required)
location:
; ------------- Advanced settings for General section, do not change ----------------
; Unit bouncer - if you need to bounce the unit for some reason on a regular basis,
; add the hour on which a reboot is required in a commas separated list e.g. 00, 04, 08, 12, 16
; reboots at midnight, 04:00, 08:00, 12:00, 16:00. Uncomment line below to activate
; unit_bouncer: 00, 06, 12, 18
; enable debug for enhanced logging for troubleshooting (values "on" or "off")
debug: off
; central configuration server details
cfg_url:
cfg_username:
cfg_password:
cfg_token:
cfg_refresh_interval:
;------------------------------------------------------------------------------------
; ====================================================================
; Network test settings (not network connectivity config)
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; **** Note that tests are currently IPv4 only ****
; ====================================================================
[Network_Test]
; ----------- Advanced settings for Network Test section, do not change -------------
; Name used for network_test file/data group/data source
network_data_file: wiperf-network
;------------------------------------------------------------------------------------
; ====================================================================
; Speedtest test settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[Speedtest]
; yes = enabled, no = disabled
enabled: yes
;
; The server ID of a specific Ookla server taken from : https://c.speedtest.net/speedtest-servers-static.php
; Note this must be the number (NOT url!) taken from the field id="xxxxx". If not specified, best server used (default)
server_id:
;
; If proxy server access is required to run a speedtest, enter the proxy server details here for https & https
; e.g. https_proxy: http://10.1.1.1:8080
;
; For sites that are not accessed via proxy, use no_proxy (make sure value enclosed in quotes & comma separated for mutiple values)
; e.g. no_proxy: "mail.local, intranet.local"
http_proxy:
https_proxy:
no_proxy:
; ------------- Advanced settings for Speedtest section, do not change --------------
; Name used for speedtest file/data group/data source
speedtest_data_file: wiperf-speedtest
;------------------------------------------------------------------------------------
; ====================================================================
; Ping tests settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[Ping_Test]
; yes = enabled, no = disabled
enabled: yes
; first host we'd like to ping
ping_host1: google.com
; first host we'd like to ping
ping_host2: cisco.com
; third host we'd like to ping
ping_host3:
; fourth host we'd like to ping
ping_host4:
; fifth host we'd like to ping
ping_host5:
; number of pings to send
ping_count: 10
;
; ------------ Advanced settings for Ping tests section, do not change --------------
; Name used for ping_test file/data group/data source
ping_data_file: wiperf-ping
;------------------------------------------------------------------------------------
; ====================================================================
; TCP iperf3 tests settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[Iperf3_tcp_test]
; yes = enabled, no = disabled
enabled: no
; IP address of iperf3 server
server_hostname:
; iperf server port
port: 5201
; test duration in secs
duration: 10
;
; --------- Advanced settings for TCP iperf3 tests section, do not change -----------
; Name used for tcp_iperf_test file/data group/data source
iperf3_tcp_data_file: wiperf-iperf3-tcp
;------------------------------------------------------------------------------------
; ====================================================================
; UDP iperf3 tests settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[Iperf3_udp_test]
; yes = enabled, no = disabled
enabled: no
; IP address of iperf3 server
server_hostname:
; iperf server port
port: 5201
; test duration in secs
duration: 10
; bandwidth in bps
bandwidth: 2000000
;
; --------- Advanced settings for UDP iperf3 tests section, do not change -----------
; lName used for udp_iperf_test file/data group/data source
iperf3_udp_data_file: wiperf-iperf3-udp
;------------------------------------------------------------------------------------
; ====================================================================
; DNS tests settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[DNS_test]
; yes = enabled, no = disabled
enabled: yes
; First DNS target
dns_target1: google.com
; Second DNS target
dns_target2: cisco.com
; Third DNS target
dns_target3:
; Fourth DNS target
dns_target4:
; Fifth DNS target
dns_target5:
;
; -------------- Advanced settings for DNS tests section, do not change ----------------
; Name used for dns_test file/data group/data source
dns_data_file: wiperf-dns
;---------------------------------------------------------------------------------------
; ====================================================================
; HTTP tests settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[HTTP_test]
; yes = enabled, no = disabled
enabled: yes
; First HTTP target
http_target1: https://google.com
; Second HTTP target
http_target2: https://cisco.com
; Third HTTP target
http_target3:
; Fourth HTTP target
http_target4:
; Fifth HTTP target
http_target5:
;
; -------------- Advanced settings for HTTP tests section, do not change ----------------
; Name used for http_test file/data group/data source
http_data_file: wiperf-http
;---------------------------------------------------------------------------------------
; ====================================================================
; DHCP tests settings
; (Changes made in this section will be used in next test cycle
; and may be made while in Wiperf mode on the WLANPi)
; ====================================================================
[DHCP_test]
; yes = enabled, no = disabled
enabled: yes
; -------------- Advanced settings for DHCP tests section, do not change ---------------
; Name used for dhcp_test file/data group/data source
dhcp_data_file: wiperf-dhcp
;---------------------------------------------------------------------------------------