installer: include go.d.plugin version v0.11.0 (#7365)
* bump godplugin ver to 0.11.0 * update godplugin checksums * add python unbound module to obsolete modules list * add deprecation info to the python unbound readme * remove old unbound charts descriptions from the dashboard_info.js * add web_log go ver alarms * update web_log alarms info (401) * remove unbound from python.d.conf
Ilya Mashchenko committed
Nov 25, 2019 at 17:13 UTC
17cd331cec5bc785f8a3ba746febe28171342d21
7 files changed
+220
-48
collectors/python.d.plugin/python.d.conf
-1
@@ -100,7 +100,6 @@ nginx_log: no
100
# traefik: yes
101
# tomcat: yes
102
# tor: yes
103
-unbound: no
103
# uwsgi: yes
104
# varnish: yes
105
# w1sensor: yes
collectors/python.d.plugin/python.d.plugin.in
+1
@@ -135,6 +135,7 @@ def available_modules():
135
'nginx_log', # replaced by web_log
136
'mdstat', # rewritten in C
137
'sslcheck', # rewritten in Go, memory leak bug https://github.com/netdata/netdata/issues/5624
138
+ 'unbound', # rewritten in Go
139
)
140
141
files = sorted(os.listdir(DIRS.modules))
collectors/python.d.plugin/unbound/README.md
+6
@@ -1,5 +1,11 @@
1
# unbound
2
3
+## Deprecation Notes
4
+
5
+This module is deprecated. Please use [new version](https://github.com/netdata/go.d.plugin/tree/master/modules/unbound) instead.
6
+
7
+___
8
+
9
Monitoring uses the remote control interface to fetch statistics.
10
11
Provides the following charts:
health/health.d/web_log.conf
+196
-2
@@ -43,7 +43,7 @@ families: *
43
warn: ($1m_requests > 120) ? ($this < (($status >= $WARNING ) ? ( 95 ) : ( 85 )) ) : ( 0 )
44
crit: ($1m_requests > 120) ? ($this < (($status == $CRITICAL) ? ( 85 ) : ( 75 )) ) : ( 0 )
45
delay: up 2m down 15m multiplier 1.5 max 1h
46
- info: the ratio of successful HTTP responses (1xx, 2xx, 304) over the last minute
46
+ info: the ratio of successful HTTP responses (1xx, 2xx, 304, 401) over the last minute
47
to: webmaster
48
49
template: 1m_redirects
@@ -69,7 +69,7 @@ families: *
69
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 10 ) : ( 30 )) ) : ( 0 )
70
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 30 ) : ( 50 )) ) : ( 0 )
71
delay: up 2m down 15m multiplier 1.5 max 1h
72
- info: the ratio of HTTP bad requests (4xx) over the last minute
72
+ info: the ratio of HTTP bad requests (4xx except 401) over the last minute
73
to: webmaster
74
75
template: 1m_internal_errors
@@ -191,3 +191,197 @@ options: no-clear-notification
191
(clear notification for this alarm will not be sent)
192
to: webmaster
193
194
+
195
+
196
+# ---------------------------------------------------GO-VERSION---------------------------------------------------------
197
+
198
+# make sure we can collect web log data
199
+
200
+template: web_log_last_collected_secs
201
+ on: web_log.requests
202
+families: *
203
+ calc: $now - $last_collected_t
204
+ units: seconds ago
205
+ every: 10s
206
+ warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
207
+ crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
208
+ delay: down 5m multiplier 1.5 max 1h
209
+ info: number of seconds since the last successful data collection
210
+ to: webmaster
211
+
212
+# unmatched lines
213
+
214
+# the following alarms trigger only when there are enough data.
215
+# we assume there are enough data when:
216
+#
217
+# $1m_total_requests > 120
218
+#
219
+# i.e. when there are at least 120 requests during the last minute
220
+
221
+template: web_log_1m_total_requests
222
+ on: web_log.requests
223
+families: *
224
+ lookup: sum -1m unaligned
225
+ calc: ($this == 0)?(1):($this)
226
+ units: requests
227
+ every: 10s
228
+ info: the sum of all HTTP requests over the last minute
229
+
230
+template: web_log_1m_unmatched
231
+ on: web_log.excluded_requests
232
+families: *
233
+ lookup: sum -1m unaligned of unmatched
234
+ calc: $this * 100 / $web_log_1m_total_requests
235
+ units: %
236
+ every: 10s
237
+ warn: ($web_log_1m_total_requests > 120) ? ($this > 1) : ( 0 )
238
+ crit: ($web_log_1m_total_requests > 120) ? ($this > 5) : ( 0 )
239
+ delay: up 1m down 5m multiplier 1.5 max 1h
240
+ info: the ratio of unmatched lines, over the last minute
241
+ to: webmaster
242
+
243
+# -----------------------------------------------------------------------------
244
+# high level response code alarms
245
+
246
+# the following alarms trigger only when there are enough data.
247
+# we assume there are enough data when:
248
+#
249
+# $1m_requests > 120
250
+#
251
+# i.e. when there are at least 120 requests during the last minute
252
+
253
+template: web_log_1m_requests
254
+ on: web_log.type_requests
255
+families: *
256
+ lookup: sum -1m unaligned
257
+ calc: ($this == 0)?(1):($this)
258
+ units: requests
259
+ every: 10s
260
+ info: the sum of all HTTP requests over the last minute
261
+
262
+template: web_log_1m_successful
263
+ on: web_log.type_requests
264
+families: *
265
+ lookup: sum -1m unaligned of success
266
+ calc: $this * 100 / $web_log_1m_requests
267
+ units: %
268
+ every: 10s
269
+ warn: ($web_log_1m_requests > 120) ? ($this < (($status >= $WARNING ) ? ( 95 ) : ( 85 )) ) : ( 0 )
270
+ crit: ($web_log_1m_requests > 120) ? ($this < (($status == $CRITICAL) ? ( 85 ) : ( 75 )) ) : ( 0 )
271
+ delay: up 2m down 15m multiplier 1.5 max 1h
272
+ info: the ratio of successful HTTP responses (1xx, 2xx, 304, 401) over the last minute
273
+ to: webmaster
274
+
275
+template: web_log_1m_redirects
276
+ on: web_log.type_requests
277
+families: *
278
+ lookup: sum -1m unaligned of redirect
279
+ calc: $this * 100 / $web_log_1m_requests
280
+ units: %
281
+ every: 10s
282
+ warn: ($web_log_1m_requests > 120) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 20 )) ) : ( 0 )
283
+ crit: ($web_log_1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 20 ) : ( 30 )) ) : ( 0 )
284
+ delay: up 2m down 15m multiplier 1.5 max 1h
285
+ info: the ratio of HTTP redirects (3xx except 304) over the last minute
286
+ to: webmaster
287
+
288
+template: web_log_1m_bad_requests
289
+ on: web_log.type_requests
290
+families: *
291
+ lookup: sum -1m unaligned of bad
292
+ calc: $this * 100 / $web_log_1m_requests
293
+ units: %
294
+ every: 10s
295
+ warn: ($web_log_1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 10 ) : ( 30 )) ) : ( 0 )
296
+ crit: ($web_log_1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 30 ) : ( 50 )) ) : ( 0 )
297
+ delay: up 2m down 15m multiplier 1.5 max 1h
298
+ info: the ratio of HTTP bad requests (4xx except 401) over the last minute
299
+ to: webmaster
300
+
301
+template: web_log_1m_internal_errors
302
+ on: web_log.type_requests
303
+families: *
304
+ lookup: sum -1m unaligned of error
305
+ calc: $this * 100 / $web_log_1m_requests
306
+ units: %
307
+ every: 10s
308
+ warn: ($web_log_1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 1 ) : ( 2 )) ) : ( 0 )
309
+ crit: ($web_log_1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
310
+ delay: up 2m down 15m multiplier 1.5 max 1h
311
+ info: the ratio of HTTP internal server errors (5xx), over the last minute
312
+ to: webmaster
313
+
314
+# -----------------------------------------------------------------------------
315
+# web slow
316
+
317
+# the following alarms trigger only when there are enough data.
318
+# we assume there are enough data when:
319
+#
320
+# $1m_requests > 120
321
+#
322
+# i.e. when there are at least 120 requests during the last minute
323
+
324
+template: web_log_10m_response_time
325
+ on: web_log.request_processing_time
326
+families: *
327
+ lookup: average -10m unaligned of avg
328
+ units: ms
329
+ every: 30s
330
+ info: the average time to respond to HTTP requests, over the last 10 minutes
331
+
332
+template: web_log_web_slow
333
+ on: web_log.request_processing_time
334
+families: *
335
+ lookup: average -1m unaligned of avg
336
+ units: ms
337
+ every: 10s
338
+ green: 500
339
+ red: 1000
340
+ warn: ($web_log_1m_requests > 120) ? ($this > $green && $this > ($web_log_10m_response_time * 2) ) : ( 0 )
341
+ crit: ($web_log_1m_requests > 120) ? ($this > $red && $this > ($web_log_10m_response_time * 4) ) : ( 0 )
342
+ delay: down 15m multiplier 1.5 max 1h
343
+ info: the average time to respond to HTTP requests, over the last 1 minute
344
+ options: no-clear-notification
345
+ to: webmaster
346
+
347
+# -----------------------------------------------------------------------------
348
+# web too many or too few requests
349
+
350
+# the following alarms trigger only when there are enough data.
351
+# we assume there are enough data when:
352
+#
353
+# $5m_successful_old > 120
354
+#
355
+# i.e. when there were at least 120 requests during the 5 minutes starting
356
+# at -10m and ending at -5m
357
+
358
+template: web_log_5m_successful_old
359
+ on: web_log.type_requests
360
+families: *
361
+ lookup: average -5m at -5m unaligned of success
362
+ units: requests/s
363
+ every: 30s
364
+ info: average rate of successful HTTP requests over the last 5 minutes
365
+
366
+template: web_log_5m_successful
367
+ on: web_log.type_requests
368
+families: *
369
+ lookup: average -5m unaligned of success
370
+ units: requests/s
371
+ every: 30s
372
+ info: average successful HTTP requests over the last 5 minutes
373
+
374
+template: web_log_5m_requests_ratio
375
+ on: web_log.type_requests
376
+families: *
377
+ calc: ($web_log_5m_successful_old > 0)?($web_log_5m_successful * 100 / $web_log_5m_successful_old):(100)
378
+ units: %
379
+ every: 30s
380
+ warn: ($web_log_5m_successful_old > 120) ? ($this > 200 OR $this < 50) : (0)
381
+ crit: ($web_log_5m_successful_old > 120) ? ($this > 400 OR $this < 25) : (0)
382
+ delay: down 15m multiplier 1.5 max 1h
383
+options: no-clear-notification
384
+ info: the percentage of successful web requests over the last 5 minutes, \
385
+ compared with the previous 5 minutes \
386
+ (clear notification for this alarm will not be sent)
387
+ to: webmaster
packaging/go.d.checksums
+16
-16
@@ -1,16 +1,16 @@
1
-e99a297521e8420fe9fca440d58c666df5c5498c82a980ca5ac3411e0cbf6e0d *config.tar.gz
2
-8b8d8f99d8649537185b91f85aebd1d088a30ccd2136bec19dee3f19592234f7 *go.d.plugin-v0.10.0.darwin-386.tar.gz
3
-335c5e417f4bbf7cf3a5d7cacc934885fc8fb6d9831d19179d0ea99f0fb8d53d *go.d.plugin-v0.10.0.darwin-amd64.tar.gz
4
-753b47e291985c1864f242cd3de555f702b7975b0890303abaf64913a4658d2a *go.d.plugin-v0.10.0.freebsd-386.tar.gz
5
-25dacbb8c14469c50ee8ae353803630732ffc6caca7a94603cd98e946a861788 *go.d.plugin-v0.10.0.freebsd-amd64.tar.gz
6
-4382862045849d242f1d92dc1596eea729714d8f6ee21a61305691f1260d23c4 *go.d.plugin-v0.10.0.freebsd-arm.tar.gz
7
-fc2413d59bfa80509db6b6bfd11fba3b232b504e9865e4a7a4555d7cec68fb5e *go.d.plugin-v0.10.0.linux-386.tar.gz
8
-e027831ba0108260ceead05df991dac008693195699df3d195c403c8dd29ae49 *go.d.plugin-v0.10.0.linux-amd64.tar.gz
9
-9221283f0fccb7940f4b40852430965c9a2186255119c9dfec4e634099c36893 *go.d.plugin-v0.10.0.linux-arm.tar.gz
10
-8f88c4ecdde55408a3b38c6dab801ab63057e1d4efbe1a0ba25aeaa69c90e491 *go.d.plugin-v0.10.0.linux-arm64.tar.gz
11
-e41b1c0c7bb09a816798428659d8e0b4e6ff5194f1741fc3e304e0e841561c53 *go.d.plugin-v0.10.0.linux-mips.tar.gz
12
-2d3d9ca920b8207482229abad43caa58f5c17e36beac5e59b5a6d52289741576 *go.d.plugin-v0.10.0.linux-mips64.tar.gz
13
-9d4e5bdb4c0b51c37938d8f4559ed553fbd0e87357433a4fd5ced1aae93114ca *go.d.plugin-v0.10.0.linux-mips64le.tar.gz
14
-7244bf058cd8e7163324dbcf263ec13021f202cca6c6ed24b6611d62523fcdfe *go.d.plugin-v0.10.0.linux-mipsle.tar.gz
15
-9637bfe94f7622752a558674c446077f2c7bb1b87d33e807efe624e78d5500ca *go.d.plugin-v0.10.0.linux-ppc64.tar.gz
16
-a151fcc992b9cab53a92ae6fa64cafe9d9bd52c37838400433acd1ad98ff9a96 *go.d.plugin-v0.10.0.linux-ppc64le.tar.gz
1
+150136ab8f44699e7998383879a162a24929f6d2a15b67c458282e909511db1d *config.tar.gz
2
+4727baf7e12c27631013088078d88824a3d88a5706a4c41941a4ce247ad94e9f *go.d.plugin-v0.11.0.darwin-386.tar.gz
3
+e4609376184ca41865883ac474ba14d217be8bee8607cf01e8270a664ebb8352 *go.d.plugin-v0.11.0.darwin-amd64.tar.gz
4
+d09ad9eafb8c7431e3a9103c2fa7a92422ecfb22e42b6e3f48ffe29ab5b4e574 *go.d.plugin-v0.11.0.freebsd-386.tar.gz
5
+a6164659332bcac5d812ece9d4434558bc3c1634ad9ebb7e7e22d2a0a3309b1f *go.d.plugin-v0.11.0.freebsd-amd64.tar.gz
6
+ae6194a40fbdb731b9d35588bbf0a2415f74374fe5b70e2666272c112f486ea2 *go.d.plugin-v0.11.0.freebsd-arm.tar.gz
7
+dcf406a3106f713c70ab7279f4b540cc71d338a7fb4393ed372f81bca9381cdb *go.d.plugin-v0.11.0.linux-386.tar.gz
8
+816103eecd6c46143eda10507a5be7f2b12eade409236ced075a6c3dcf374b4b *go.d.plugin-v0.11.0.linux-amd64.tar.gz
9
+cd51ddf81270e065dbc298d51a36a3b8f59975448fbb2def5686460071b5df50 *go.d.plugin-v0.11.0.linux-arm.tar.gz
10
+5b1eee46997ab84687a77bb55e68806162b658df3d3ab26163b1d3146f0765aa *go.d.plugin-v0.11.0.linux-arm64.tar.gz
11
+ac85e4c288ee3ed273b41ad037964310e62404511ba66f0fdd9549cc7db7ee84 *go.d.plugin-v0.11.0.linux-mips.tar.gz
12
+7208f810efa4ae40612187d29da9274ee054d06cb442de8a5a2c923be88f95c8 *go.d.plugin-v0.11.0.linux-mips64.tar.gz
13
+e9f9729ef1ab8410e30706c2a9649e7e636af2e02b826ee1e5215c4dca6ff43d *go.d.plugin-v0.11.0.linux-mips64le.tar.gz
14
+3b19879e3000dc8354ab525173ac6b6f08cd811a6d2158cc014f3a7ddb5baa6f *go.d.plugin-v0.11.0.linux-mipsle.tar.gz
15
+c46748da48ec11a9c057d4db4c35c8f4dd170f1b259d85f546e74ffc24752eed *go.d.plugin-v0.11.0.linux-ppc64.tar.gz
16
+4578d8ecc606f77fe78d4420f9e7c9775edc0f4343c7e1d40a925b6de593bc23 *go.d.plugin-v0.11.0.linux-ppc64le.tar.gz
packaging/go.d.version
+1
-1
@@ -1 +1 @@
1
-v0.10.0
1
+v0.11.0
web/gui/dashboard_info.js
-28
@@ -2407,34 +2407,6 @@ netdataDashboard.context = {
2407
info: 'The number of currently connect users on the monitored Spigot server.'
2408
},
2409
2410
- 'unbound.queries': {
2411
- info: 'Shows the number of queries being processed of each type. Note that <code>Recursive</code> queries are also accounted as cache misses.'
2412
- },
2413
-
2414
- 'unbound.reqlist': {
2415
- info: 'Shows various stats about Unbound\'s internal request list.'
2416
- },
2417
-
2418
- 'unbound.recursion': {
2419
- info: 'Average and median time to complete recursive name resolution.'
2420
- },
2421
-
2422
- 'unbound.cache': {
2423
- info: 'The number of items in each of the various caches.'
2424
- },
2425
-
2426
- 'unbound.threads.queries': {
2427
- height: 0.2
2428
- },
2429
-
2430
- 'unbound.threads.reqlist': {
2431
- height: 0.2
2432
- },
2433
-
2434
- 'unbound.threads.recursion': {
2435
- height: 0.2
2436
- },
2437
-
2410
'boinc.tasks': {
2411
info: 'The total number of tasks and the number of active tasks. Active tasks are those which are either currently being processed, or are partialy processed but suspended.'
2412
},