forked from wifinigel/wiperf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.default.ini
236 lines (188 loc) · 8.18 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
; ====================================================================
; General settings - any changes to this section should only be
; made when in classic mode (not while in Wipef mode) on the WLAN Pi
; ====================================================================
[General]
; wlan interface name set this as per the output of an iwconfig command (usually wlan0)
wlan_if: wlan0
; interface name over which mgt traffic is sent (i.e. how we get to Splunk) - options: wlan0, eth0, zt
mgt_if: wlan0
; Platform architecture - choices: 'wlanpi' (WLPC WLAN-Pi),'rpi' (Raspberry Pi)
platform: wlanpi
; Splunk host IP/name
data_host: 192.168.0.99
; Splunk event collector port (8088 by default)
data_port: 8088
; Splunk token to access Splunk server created by Splunk (example token: 84adb9ca-071c-48ad-8aa1-b1903c60310d)
splunk_token:
; 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 ----------------
; output data format: valid values: csv or json (not required for hec mode)
data_format: json
; data dump location
data_dir: /home/wlanpi/wiperf/data
; Transport methods for data (options: hec, forwarder (Splunk universal forwarder))
data_transport: hec
; 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
;------------------------------------------------------------------------------------
; ====================================================================
; 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 --------------
; Location of speedtest file for Splunk forwarder to read (do not add file extension)
speedtest_data_file: wiperf-speedtest-splunk
;------------------------------------------------------------------------------------
; ====================================================================
; 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: bbc.co.uk
; first host we'd like to ping
ping_host2: cisco.com
; third host we'd like to ping
ping_host3: google.com
; 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 --------------
; location of ping test file for Splunk forwarder to read (do not add file extension)
ping_data_file: wiperf-ping-splunk
;------------------------------------------------------------------------------------
; ====================================================================
; 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: yes
; IP address of iperf3 server
server_hostname: 192.168.0.14
; iperf server port
port: 5201
; test duration in secs
duration: 20
;
; --------- Advanced settings for TCP iperf3 tests section, do not change -----------
; location of iperf3 tcp file for Splunk forwarder to read (do not add file extension)
iperf3_tcp_data_file: wiperf-iperf3-tcp-splunk
;------------------------------------------------------------------------------------
; ====================================================================
; 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: yes
; IP address of iperf3 server
server_hostname: 192.168.0.14
; iperf server port
port: 5201
; test duration in secs
duration: 20
; bandwidth in bps
bandwidth: 20000000
;
; --------- Advanced settings for UDP iperf3 tests section, do not change -----------
; location of iperf3 udp file for Splunk forwarder to read (do not add file extension)
iperf3_udp_data_file: wiperf-iperf3-udp-splunk
;------------------------------------------------------------------------------------
; ====================================================================
; 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: bbc.co.uk
; Second DNS target
dns_target2: cisco.com
; Third DNS target
dns_target3: google.com
; Fourth DNS target
dns_target4:
; Fifth DNS target
dns_target5:
;
; -------------- Advanced settings for DNS tests section, do not change ----------------
; location of DNS results file for Splunk forwarder to read (do not add file extension)
dns_data_file: wiperf-dns-splunk
;---------------------------------------------------------------------------------------
; ====================================================================
; 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://ebay.co.uk
; Second HTTP target
http_target2: http://twitter.com
; Third HTTP target
http_target3: https://facebook.com
; Fourth HTTP target
http_target4: https://instagram.com
; Fifth HTTP target
http_target5: https://amazon.com
;
; -------------- Advanced settings for HTTP tests section, do not change ----------------
; location of HTTP results file for Splunk forwarder to read (do not add file extension)
http_data_file: wiperf-http-splunk
;---------------------------------------------------------------------------------------
; ====================================================================
; 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
; mode: passive or active (active is full release/request but may be disruptve to connectivity - use with caution)
mode: passive
;
; -------------- Advanced settings for DHCP tests section, do not change ---------------
; location of DHCP results file for Splunk forwarder to read (do not add file extension)
dhcp_data_file: wiperf-dhcp-splunk
;---------------------------------------------------------------------------------------