Fill in yaml files for some python collectors (#15541)
* fix squid metadata yaml * smartd_log metadata yaml * puppet metadata yaml
Fotis Voutsas committed
Jul 26, 2023 at 14:37 UTC
71a6f2bb1798d773bdc38fbb7a3384eaca9762ab
4 files changed
+845
-599
collectors/python.d.plugin/haproxy/metadata.yaml
+318
-314
@@ -1,318 +1,322 @@
1
-meta:
2
- plugin_name: python.d.plugin
3
- module_name: haproxy
4
- monitored_instance:
5
- name: HAProxy
6
- link: 'https://www.haproxy.org/'
7
- categories:
8
- - data-collection.web-servers-and-web-proxies
9
- icon_filename: 'haproxy.png'
10
- related_resources:
11
- integrations:
12
- list: []
13
- info_provided_to_referring_integrations:
14
- description: ''
15
- keywords:
16
- - haproxy
17
- - tcp
18
- - balancer
19
- most_popular: false
20
-overview:
21
- data_collection:
22
- metrics_description: 'This collector monitors HAProxy metrics about frontend servers, backend servers, responses and more.'
23
- method_description: 'It connects to the HAProxy instance via URL or UNIX socket.'
24
- supported_platforms:
25
- include: []
26
- exclude: []
27
- multi_instance: true
28
- additional_permissions:
29
- description: ''
30
- default_behavior:
31
- auto_detection:
32
- description: ''
33
- limits:
34
- description: ''
35
- performance_impact:
36
- description: ''
37
-setup:
38
- prerequisites:
39
- list:
40
- - title: 'HAProxy setup for socket'
41
- description: 'Socket must be readable and writable by the netdata user.'
42
- - title: 'HAProxy setup for URL'
43
- description: 'URL must have `stats uri <path>` present in the haproxy config, otherwise you will get HTTP 503 in the haproxy logs.'
44
- configuration:
45
- file:
46
- name: python.d/haproxy.conf
47
- options:
48
- description: |
49
- There are 2 sections:
1
+# This collector will not appear in documentation, as the go version is preferred,
2
+# https://github.com/netdata/go.d.plugin/blob/master/modules/haproxy/README.md
3
+#
4
+#
5
+# meta:
6
+# plugin_name: python.d.plugin
7
+# module_name: haproxy
8
+# monitored_instance:
9
+# name: HAProxy
10
+# link: 'https://www.haproxy.org/'
11
+# categories:
12
+# - data-collection.web-servers-and-web-proxies
13
+# icon_filename: 'haproxy.png'
14
+# related_resources:
15
+# integrations:
16
+# list: []
17
+# info_provided_to_referring_integrations:
18
+# description: ''
19
+# keywords:
20
+# - haproxy
21
+# - tcp
22
+# - balancer
23
+# most_popular: false
24
+# overview:
25
+# data_collection:
26
+# metrics_description: 'This collector monitors HAProxy metrics about frontend servers, backend servers, responses and more.'
27
+# method_description: 'It connects to the HAProxy instance via URL or UNIX socket.'
28
+# supported_platforms:
29
+# include: []
30
+# exclude: []
31
+# multi_instance: true
32
+# additional_permissions:
33
+# description: ''
34
+# default_behavior:
35
+# auto_detection:
36
+# description: ''
37
+# limits:
38
+# description: ''
39
+# performance_impact:
40
+# description: ''
41
+# setup:
42
+# prerequisites:
43
+# list:
44
+# - title: 'HAProxy setup for socket'
45
+# description: 'Socket must be readable and writable by the netdata user.'
46
+# - title: 'HAProxy setup for URL'
47
+# description: 'URL must have `stats uri <path>` present in the haproxy config, otherwise you will get HTTP 503 in the haproxy logs.'
48
+# configuration:
49
+# file:
50
+# name: python.d/haproxy.conf
51
+# options:
52
+# description: |
53
+# There are 2 sections:
54
51
- * Global variables
52
- * One or more JOBS that can define multiple different instances to monitor.
55
+# * Global variables
56
+# * One or more JOBS that can define multiple different instances to monitor.
57
54
- The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
58
+# The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
59
56
- Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
60
+# Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
61
58
- Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
59
- folding:
60
- title: "Config options"
61
- enabled: true
62
- list:
63
- - name: update_every
64
- description: Sets the default data collection frequency.
65
- default_value: 5
66
- required: false
67
- - name: priority
68
- description: Controls the order of charts at the netdata dashboard.
69
- default_value: 60000
70
- required: false
71
- - name: autodetection_retry
72
- description: Sets the job re-check interval in seconds.
73
- default_value: 0
74
- required: false
75
- - name: penalty
76
- description: Indicates whether to apply penalty to update_every in case of failures.
77
- default_value: yes
78
- required: false
79
- - name: name
80
- description: Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
81
- default_value: ''
82
- required: false
83
- - name: user
84
- description: Username if stats auth is used.
85
- default_value: ''
86
- required: false
87
- - name: pass
88
- description: Password if stats auth is used.
89
- default_value: ''
90
- required: false
91
- - name: url
92
- description: URL to the haproxy_stats endpoint. Also make sure the parameters `csv` and `norefresh` are provided.
93
- default_value: ''
94
- required: false
95
- - name: socket
96
- description: Unix socket path to the haproxy sock file.
97
- default_value: ''
98
- required: false
99
- examples:
100
- folding:
101
- enabled: true
102
- title: "Config"
103
- list:
104
- - name: URL method
105
- description: Use a URL to specify the endpoint to check for haproxy statistics.
106
- config: |
107
- via_url:
108
- user: 'username' # ONLY IF stats auth is used
109
- pass: 'password' # # ONLY IF stats auth is used
110
- url: 'http://ip.address:port/url;csv;norefresh'
111
- - name: Local socket
112
- description: Use a local socket to check for haproxy statistics.
113
- config: |
114
- via_socket:
115
- socket: 'path/to/haproxy/sock'
116
-troubleshooting:
117
- problems:
118
- list: []
119
-alerts:
120
-- name: haproxy_backend_server_status
121
- link: https://github.com/netdata/netdata/blob/master/health/health.d/haproxy.conf
122
- metric: haproxy_hs.down
123
- info: average number of failed haproxy backend servers over the last 10 seconds
124
-- name: haproxy_backend_status
125
- link: https://github.com/netdata/netdata/blob/master/health/health.d/haproxy.conf
126
- metric: haproxy_hb.down
127
- info: average number of failed haproxy backends over the last 10 seconds
128
-metrics:
129
- folding:
130
- title: Metrics
131
- enabled: false
132
- description: ""
133
- availability: []
134
- scopes:
135
- - name: global
136
- description: 'These metrics refer to the entire monitored application.'
137
- labels: []
138
- metrics:
139
- - name: haproxy_f.bin
140
- description: Kilobytes In
141
- unit: "KiB/s"
142
- chart_type: line
143
- dimensions:
144
- - name: a dimension per frontend server
145
- - name: haproxy_f.bout
146
- description: Kilobytes Out
147
- unit: "KiB/s"
148
- chart_type: line
149
- dimensions:
150
- - name: a dimension per frontend server
151
- - name: haproxy_f.scur
152
- description: Sessions Active
153
- unit: "sessions"
154
- chart_type: line
155
- dimensions:
156
- - name: a dimension per frontend server
157
- - name: haproxy_f.qcur
158
- description: Session In Queue
159
- unit: "sessions"
160
- chart_type: line
161
- dimensions:
162
- - name: a dimension per frontend server
163
- - name: haproxy_f.hrsp_1xx
164
- description: HTTP responses with 1xx code
165
- unit: "responses/s"
166
- chart_type: line
167
- dimensions:
168
- - name: a dimension per frontend server
169
- - name: haproxy_f.hrsp_2xx
170
- description: HTTP responses with 2xx code
171
- unit: "responses/s"
172
- chart_type: line
173
- dimensions:
174
- - name: a dimension per frontend server
175
- - name: haproxy_f.hrsp_3xx
176
- description: HTTP responses with 3xx code
177
- unit: "responses/s"
178
- chart_type: line
179
- dimensions:
180
- - name: a dimension per frontend server
181
- - name: haproxy_f.hrsp_4xx
182
- description: HTTP responses with 4xx code
183
- unit: "responses/s"
184
- chart_type: line
185
- dimensions:
186
- - name: a dimension per frontend server
187
- - name: haproxy_f.hrsp_5xx
188
- description: HTTP responses with 5xx code
189
- unit: "responses/s"
190
- chart_type: line
191
- dimensions:
192
- - name: a dimension per frontend server
193
- - name: haproxy_f.hrsp_other
194
- description: HTTP responses with other codes (protocol error)
195
- unit: "responses/s"
196
- chart_type: line
197
- dimensions:
198
- - name: a dimension per frontend server
199
- - name: haproxy_f.hrsp_total
200
- description: HTTP responses
201
- unit: "responses"
202
- chart_type: line
203
- dimensions:
204
- - name: a dimension per frontend server
205
- - name: haproxy_b.bin
206
- description: Kilobytes In
207
- unit: "KiB/s"
208
- chart_type: line
209
- dimensions:
210
- - name: a dimension per backend server
211
- - name: haproxy_b.bout
212
- description: Kilobytes Out
213
- unit: "KiB/s"
214
- chart_type: line
215
- dimensions:
216
- - name: a dimension per backend server
217
- - name: haproxy_b.scur
218
- description: Sessions Active
219
- unit: "sessions"
220
- chart_type: line
221
- dimensions:
222
- - name: a dimension per backend server
223
- - name: haproxy_b.qcur
224
- description: Sessions In Queue
225
- unit: "sessions"
226
- chart_type: line
227
- dimensions:
228
- - name: a dimension per backend server
229
- - name: haproxy_b.hrsp_1xx
230
- description: HTTP responses with 1xx code
231
- unit: "responses/s"
232
- chart_type: line
233
- dimensions:
234
- - name: a dimension per backend server
235
- - name: haproxy_b.hrsp_2xx
236
- description: HTTP responses with 2xx code
237
- unit: "responses/s"
238
- chart_type: line
239
- dimensions:
240
- - name: a dimension per backend server
241
- - name: haproxy_b.hrsp_3xx
242
- description: HTTP responses with 3xx code
243
- unit: "responses/s"
244
- chart_type: line
245
- dimensions:
246
- - name: a dimension per backend server
247
- - name: haproxy_b.hrsp_4xx
248
- description: HTTP responses with 4xx code
249
- unit: "responses/s"
250
- chart_type: line
251
- dimensions:
252
- - name: a dimension per backend server
253
- - name: haproxy_b.hrsp_5xx
254
- description: HTTP responses with 5xx code
255
- unit: "responses/s"
256
- chart_type: line
257
- dimensions:
258
- - name: a dimension per backend server
259
- - name: haproxy_b.hrsp_other
260
- description: HTTP responses with other codes (protocol error)
261
- unit: "responses/s"
262
- chart_type: line
263
- dimensions:
264
- - name: a dimension per backend server
265
- - name: haproxy_b.hrsp_total
266
- description: HTTP responses (total)
267
- unit: "responses/s"
268
- chart_type: line
269
- dimensions:
270
- - name: a dimension per backend server
271
- - name: haproxy_b.qtime
272
- description: The average queue time over the 1024 last requests
273
- unit: "milliseconds"
274
- chart_type: line
275
- dimensions:
276
- - name: a dimension per backend server
277
- - name: haproxy_b.ctime
278
- description: The average connect time over the 1024 last requests
279
- unit: "milliseconds"
280
- chart_type: line
281
- dimensions:
282
- - name: a dimension per backend server
283
- - name: haproxy_b.rtime
284
- description: The average response time over the 1024 last requests
285
- unit: "milliseconds"
286
- chart_type: line
287
- dimensions:
288
- - name: a dimension per backend server
289
- - name: haproxy_b.ttime
290
- description: The average total session time over the 1024 last requests
291
- unit: "milliseconds"
292
- chart_type: line
293
- dimensions:
294
- - name: a dimension per backend server
295
- - name: haproxy_hs.down
296
- description: Backend Servers In DOWN State
297
- unit: "failed servers"
298
- chart_type: line
299
- dimensions:
300
- - name: a dimension per backend server
301
- - name: haproxy_hs.up
302
- description: Backend Servers In UP State
303
- unit: "health servers"
304
- chart_type: line
305
- dimensions:
306
- - name: a dimension per backend server
307
- - name: haproxy_hb.down
308
- description: Is Backend Failed?
309
- unit: "boolean"
310
- chart_type: line
311
- dimensions:
312
- - name: a dimension per backend server
313
- - name: haproxy.idle
314
- description: The Ratio Of Polling Time Vs Total Time
315
- unit: "percentage"
316
- chart_type: line
317
- dimensions:
318
- - name: idle
62
+# Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
63
+# folding:
64
+# title: "Config options"
65
+# enabled: true
66
+# list:
67
+# - name: update_every
68
+# description: Sets the default data collection frequency.
69
+# default_value: 5
70
+# required: false
71
+# - name: priority
72
+# description: Controls the order of charts at the netdata dashboard.
73
+# default_value: 60000
74
+# required: false
75
+# - name: autodetection_retry
76
+# description: Sets the job re-check interval in seconds.
77
+# default_value: 0
78
+# required: false
79
+# - name: penalty
80
+# description: Indicates whether to apply penalty to update_every in case of failures.
81
+# default_value: yes
82
+# required: false
83
+# - name: name
84
+# description: Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
85
+# default_value: ''
86
+# required: false
87
+# - name: user
88
+# description: Username if stats auth is used.
89
+# default_value: ''
90
+# required: false
91
+# - name: pass
92
+# description: Password if stats auth is used.
93
+# default_value: ''
94
+# required: false
95
+# - name: url
96
+# description: URL to the haproxy_stats endpoint. Also make sure the parameters `csv` and `norefresh` are provided.
97
+# default_value: ''
98
+# required: false
99
+# - name: socket
100
+# description: Unix socket path to the haproxy sock file.
101
+# default_value: ''
102
+# required: false
103
+# examples:
104
+# folding:
105
+# enabled: true
106
+# title: "Config"
107
+# list:
108
+# - name: URL method
109
+# description: Use a URL to specify the endpoint to check for haproxy statistics.
110
+# config: |
111
+# via_url:
112
+# user: 'username' # ONLY IF stats auth is used
113
+# pass: 'password' # # ONLY IF stats auth is used
114
+# url: 'http://ip.address:port/url;csv;norefresh'
115
+# - name: Local socket
116
+# description: Use a local socket to check for haproxy statistics.
117
+# config: |
118
+# via_socket:
119
+# socket: 'path/to/haproxy/sock'
120
+# troubleshooting:
121
+# problems:
122
+# list: []
123
+# alerts:
124
+# - name: haproxy_backend_server_status
125
+# link: https://github.com/netdata/netdata/blob/master/health/health.d/haproxy.conf
126
+# metric: haproxy_hs.down
127
+# info: average number of failed haproxy backend servers over the last 10 seconds
128
+# - name: haproxy_backend_status
129
+# link: https://github.com/netdata/netdata/blob/master/health/health.d/haproxy.conf
130
+# metric: haproxy_hb.down
131
+# info: average number of failed haproxy backends over the last 10 seconds
132
+# metrics:
133
+# folding:
134
+# title: Metrics
135
+# enabled: false
136
+# description: ""
137
+# availability: []
138
+# scopes:
139
+# - name: global
140
+# description: 'These metrics refer to the entire monitored application.'
141
+# labels: []
142
+# metrics:
143
+# - name: haproxy_f.bin
144
+# description: Kilobytes In
145
+# unit: "KiB/s"
146
+# chart_type: line
147
+# dimensions:
148
+# - name: a dimension per frontend server
149
+# - name: haproxy_f.bout
150
+# description: Kilobytes Out
151
+# unit: "KiB/s"
152
+# chart_type: line
153
+# dimensions:
154
+# - name: a dimension per frontend server
155
+# - name: haproxy_f.scur
156
+# description: Sessions Active
157
+# unit: "sessions"
158
+# chart_type: line
159
+# dimensions:
160
+# - name: a dimension per frontend server
161
+# - name: haproxy_f.qcur
162
+# description: Session In Queue
163
+# unit: "sessions"
164
+# chart_type: line
165
+# dimensions:
166
+# - name: a dimension per frontend server
167
+# - name: haproxy_f.hrsp_1xx
168
+# description: HTTP responses with 1xx code
169
+# unit: "responses/s"
170
+# chart_type: line
171
+# dimensions:
172
+# - name: a dimension per frontend server
173
+# - name: haproxy_f.hrsp_2xx
174
+# description: HTTP responses with 2xx code
175
+# unit: "responses/s"
176
+# chart_type: line
177
+# dimensions:
178
+# - name: a dimension per frontend server
179
+# - name: haproxy_f.hrsp_3xx
180
+# description: HTTP responses with 3xx code
181
+# unit: "responses/s"
182
+# chart_type: line
183
+# dimensions:
184
+# - name: a dimension per frontend server
185
+# - name: haproxy_f.hrsp_4xx
186
+# description: HTTP responses with 4xx code
187
+# unit: "responses/s"
188
+# chart_type: line
189
+# dimensions:
190
+# - name: a dimension per frontend server
191
+# - name: haproxy_f.hrsp_5xx
192
+# description: HTTP responses with 5xx code
193
+# unit: "responses/s"
194
+# chart_type: line
195
+# dimensions:
196
+# - name: a dimension per frontend server
197
+# - name: haproxy_f.hrsp_other
198
+# description: HTTP responses with other codes (protocol error)
199
+# unit: "responses/s"
200
+# chart_type: line
201
+# dimensions:
202
+# - name: a dimension per frontend server
203
+# - name: haproxy_f.hrsp_total
204
+# description: HTTP responses
205
+# unit: "responses"
206
+# chart_type: line
207
+# dimensions:
208
+# - name: a dimension per frontend server
209
+# - name: haproxy_b.bin
210
+# description: Kilobytes In
211
+# unit: "KiB/s"
212
+# chart_type: line
213
+# dimensions:
214
+# - name: a dimension per backend server
215
+# - name: haproxy_b.bout
216
+# description: Kilobytes Out
217
+# unit: "KiB/s"
218
+# chart_type: line
219
+# dimensions:
220
+# - name: a dimension per backend server
221
+# - name: haproxy_b.scur
222
+# description: Sessions Active
223
+# unit: "sessions"
224
+# chart_type: line
225
+# dimensions:
226
+# - name: a dimension per backend server
227
+# - name: haproxy_b.qcur
228
+# description: Sessions In Queue
229
+# unit: "sessions"
230
+# chart_type: line
231
+# dimensions:
232
+# - name: a dimension per backend server
233
+# - name: haproxy_b.hrsp_1xx
234
+# description: HTTP responses with 1xx code
235
+# unit: "responses/s"
236
+# chart_type: line
237
+# dimensions:
238
+# - name: a dimension per backend server
239
+# - name: haproxy_b.hrsp_2xx
240
+# description: HTTP responses with 2xx code
241
+# unit: "responses/s"
242
+# chart_type: line
243
+# dimensions:
244
+# - name: a dimension per backend server
245
+# - name: haproxy_b.hrsp_3xx
246
+# description: HTTP responses with 3xx code
247
+# unit: "responses/s"
248
+# chart_type: line
249
+# dimensions:
250
+# - name: a dimension per backend server
251
+# - name: haproxy_b.hrsp_4xx
252
+# description: HTTP responses with 4xx code
253
+# unit: "responses/s"
254
+# chart_type: line
255
+# dimensions:
256
+# - name: a dimension per backend server
257
+# - name: haproxy_b.hrsp_5xx
258
+# description: HTTP responses with 5xx code
259
+# unit: "responses/s"
260
+# chart_type: line
261
+# dimensions:
262
+# - name: a dimension per backend server
263
+# - name: haproxy_b.hrsp_other
264
+# description: HTTP responses with other codes (protocol error)
265
+# unit: "responses/s"
266
+# chart_type: line
267
+# dimensions:
268
+# - name: a dimension per backend server
269
+# - name: haproxy_b.hrsp_total
270
+# description: HTTP responses (total)
271
+# unit: "responses/s"
272
+# chart_type: line
273
+# dimensions:
274
+# - name: a dimension per backend server
275
+# - name: haproxy_b.qtime
276
+# description: The average queue time over the 1024 last requests
277
+# unit: "milliseconds"
278
+# chart_type: line
279
+# dimensions:
280
+# - name: a dimension per backend server
281
+# - name: haproxy_b.ctime
282
+# description: The average connect time over the 1024 last requests
283
+# unit: "milliseconds"
284
+# chart_type: line
285
+# dimensions:
286
+# - name: a dimension per backend server
287
+# - name: haproxy_b.rtime
288
+# description: The average response time over the 1024 last requests
289
+# unit: "milliseconds"
290
+# chart_type: line
291
+# dimensions:
292
+# - name: a dimension per backend server
293
+# - name: haproxy_b.ttime
294
+# description: The average total session time over the 1024 last requests
295
+# unit: "milliseconds"
296
+# chart_type: line
297
+# dimensions:
298
+# - name: a dimension per backend server
299
+# - name: haproxy_hs.down
300
+# description: Backend Servers In DOWN State
301
+# unit: "failed servers"
302
+# chart_type: line
303
+# dimensions:
304
+# - name: a dimension per backend server
305
+# - name: haproxy_hs.up
306
+# description: Backend Servers In UP State
307
+# unit: "health servers"
308
+# chart_type: line
309
+# dimensions:
310
+# - name: a dimension per backend server
311
+# - name: haproxy_hb.down
312
+# description: Is Backend Failed?
313
+# unit: "boolean"
314
+# chart_type: line
315
+# dimensions:
316
+# - name: a dimension per backend server
317
+# - name: haproxy.idle
318
+# description: The Ratio Of Polling Time Vs Total Time
319
+# unit: "percentage"
320
+# chart_type: line
321
+# dimensions:
322
+# - name: idle
collectors/python.d.plugin/puppet/metadata.yaml
+139
-49
@@ -3,52 +3,142 @@ meta:
3
module_name: puppet
4
monitored_instance:
5
name: Puppet
6
- link: ''
6
+ link: "https://www.puppet.com/"
7
categories:
8
- - data-collection.provisioning-systems
9
- icon_filename: 'puppet.jpeg'
8
+ - data-collection.provisioning-systems
9
+ icon_filename: "puppet.jpeg"
10
related_resources:
11
integrations:
12
list: []
13
info_provided_to_referring_integrations:
14
- description: ''
15
- keywords: []
14
+ description: ""
15
+ keywords:
16
+ - puppet
17
+ - jvm heap
18
most_popular: false
19
overview:
20
data_collection:
19
- metrics_description: 'Monitor Puppet configurations with Netdata for changes, errors, and performance metrics. Enhance configuration management and troubleshoot faster with real-time insights and built-in alerts.'
20
- method_description: ''
21
+ metrics_description: |
22
+ This collector monitors Puppet metrics about JVM Heap, Non-Heap, CPU usage and file descriptors.'
23
+ method_description: |
24
+ It uses Puppet's metrics API endpoint to gather the metrics.
25
supported_platforms:
26
include: []
27
exclude: []
28
multi_instance: true
29
additional_permissions:
26
- description: ''
30
+ description: ""
31
default_behavior:
32
auto_detection:
29
- description: ''
33
+ description: By default, this collector will use `https://fqdn.example.com:8140` as the URL to look for metrics.
34
limits:
31
- description: ''
35
+ description: ""
36
performance_impact:
33
- description: ''
37
+ description: ""
38
setup:
39
prerequisites:
40
list: []
41
configuration:
42
file:
39
- name: ''
40
- description: ''
43
+ name: "python.d/puppet.conf"
44
options:
42
- description: ''
45
+ description: |
46
+ This particular collector does not need further configuration to work if permissions are satisfied, but you can always customize it's data collection behavior.
47
+
48
+ There are 2 sections:
49
+
50
+ * Global variables
51
+ * One or more JOBS that can define multiple different instances to monitor.
52
+
53
+ The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
54
+
55
+ Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
56
+
57
+ Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
58
+
59
+ > Notes:
60
+ > - Exact Fully Qualified Domain Name of the node should be used.
61
+ > - Usually Puppet Server/DB startup time is VERY long. So, there should be quite reasonable retry count.
62
+ > - A secured PuppetDB config may require a client certificate. This does not apply to the default PuppetDB configuration though.
63
folding:
44
- title: ''
64
+ title: "Config options"
65
enabled: true
46
- list: []
66
+ list:
67
+ - name: url
68
+ description: HTTP or HTTPS URL, exact Fully Qualified Domain Name of the node should be used.
69
+ default_value: https://fqdn.example.com:8081
70
+ required: true
71
+ - name: tls_verify
72
+ description: Control HTTPS server certificate verification.
73
+ default_value: "False"
74
+ required: false
75
+ - name: tls_ca_file
76
+ description: Optional CA (bundle) file to use
77
+ default_value: ""
78
+ required: false
79
+ - name: tls_cert_file
80
+ description: Optional client certificate file
81
+ default_value: ""
82
+ required: false
83
+ - name: tls_key_file
84
+ description: Optional client key file
85
+ default_value: ""
86
+ required: false
87
+ - name: update_every
88
+ description: Sets the default data collection frequency.
89
+ default_value: 30
90
+ required: false
91
+ - name: priority
92
+ description: Controls the order of charts at the netdata dashboard.
93
+ default_value: 60000
94
+ required: false
95
+ - name: autodetection_retry
96
+ description: Sets the job re-check interval in seconds.
97
+ default_value: 0
98
+ required: false
99
+ - name: penalty
100
+ description: Indicates whether to apply penalty to update_every in case of failures.
101
+ default_value: yes
102
+ required: false
103
+ - name: name
104
+ description: >
105
+ Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
106
+ default_value: ""
107
+ required: false
108
examples:
109
folding:
110
enabled: true
50
- title: ''
51
- list: []
111
+ title: "Config"
112
+ list:
113
+ - name: Basic
114
+ description: A basic example configuration
115
+ folding:
116
+ enabled: false
117
+ config: |
118
+ puppetserver:
119
+ url: 'https://fqdn.example.com:8140'
120
+ autodetection_retry: 1
121
+ - name: TLS Certificate
122
+ description: An example using a TLS certificate
123
+ config: |
124
+ puppetdb:
125
+ url: 'https://fqdn.example.com:8081'
126
+ tls_cert_file: /path/to/client.crt
127
+ tls_key_file: /path/to/client.key
128
+ autodetection_retry: 1
129
+ - name: Multi-instance
130
+ description: |
131
+ > **Note**: When you define multiple jobs, their names must be unique.
132
+
133
+ Collecting metrics from local and remote instances.
134
+ config: |
135
+ puppetserver1:
136
+ url: 'https://fqdn.example.com:8140'
137
+ autodetection_retry: 1
138
+
139
+ puppetserver2:
140
+ url: 'https://fqdn.example2.com:8140'
141
+ autodetection_retry: 1
142
troubleshooting:
143
problems:
144
list: []
@@ -60,34 +150,34 @@ metrics:
150
description: ""
151
availability: []
152
scopes:
63
- - name: global
64
- description: ""
65
- labels: []
66
- metrics:
67
- - name: puppet.jvm
68
- description: JVM Heap
69
- unit: "MiB"
70
- chart_type: area
71
- dimensions:
72
- - name: committed
73
- - name: used
74
- - name: puppet.jvm
75
- description: JVM Non-Heap
76
- unit: "MiB"
77
- chart_type: area
78
- dimensions:
79
- - name: committed
80
- - name: used
81
- - name: puppet.cpu
82
- description: CPU usage
83
- unit: "percentage"
84
- chart_type: stacked
85
- dimensions:
86
- - name: execution
87
- - name: GC
88
- - name: puppet.fdopen
89
- description: File Descriptors
90
- unit: "descriptors"
91
- chart_type: line
92
- dimensions:
93
- - name: used
153
+ - name: global
154
+ description: "These metrics refer to the entire monitored application."
155
+ labels: []
156
+ metrics:
157
+ - name: puppet.jvm
158
+ description: JVM Heap
159
+ unit: "MiB"
160
+ chart_type: area
161
+ dimensions:
162
+ - name: committed
163
+ - name: used
164
+ - name: puppet.jvm
165
+ description: JVM Non-Heap
166
+ unit: "MiB"
167
+ chart_type: area
168
+ dimensions:
169
+ - name: committed
170
+ - name: used
171
+ - name: puppet.cpu
172
+ description: CPU usage
173
+ unit: "percentage"
174
+ chart_type: stacked
175
+ dimensions:
176
+ - name: execution
177
+ - name: GC
178
+ - name: puppet.fdopen
179
+ description: File Descriptors
180
+ unit: "descriptors"
181
+ chart_type: line
182
+ dimensions:
183
+ - name: used
collectors/python.d.plugin/smartd_log/metadata.yaml
+387
-236
@@ -3,52 +3,130 @@ meta:
3
module_name: smartd_log
4
monitored_instance:
5
name: S.M.A.R.T.
6
- link: ''
6
+ link: "https://linux.die.net/man/8/smartd"
7
categories:
8
- - data-collection.hardware-devices-and-sensors
9
- icon_filename: 'smart.png'
8
+ - data-collection.hardware-devices-and-sensors
9
+ icon_filename: "smart.png"
10
related_resources:
11
integrations:
12
list: []
13
info_provided_to_referring_integrations:
14
- description: ''
15
- keywords: []
14
+ description: ""
15
+ keywords:
16
+ - smart
17
+ - S.M.A.R.T.
18
+ - SCSI devices
19
+ - ATA devices
20
most_popular: false
21
overview:
22
data_collection:
19
- metrics_description: 'Monitor S.M.A.R.T. metrics for insights into your hard drive health and performance. Enhance your hard drive performance and reliability with real-time insights and alerts from Netdata.'
20
- method_description: ''
23
+ metrics_description: |
24
+ This collector monitors HDD/SSD S.M.A.R.T. metrics about drive health and performance.
25
+ method_description: |
26
+ It reads `smartd` log files to collect the metrics.
27
supported_platforms:
28
include: []
29
exclude: []
24
- multi_instance: true
30
+ multi_instance: false
31
additional_permissions:
26
- description: ''
32
+ description: ""
33
default_behavior:
34
auto_detection:
29
- description: ''
35
+ description: Upon satisfying the prerequisites, the collector will auto-detect metrics if written in either `/var/log/smartd/` or `/var/lib/smartmontools/`.
36
limits:
31
- description: ''
37
+ description: ""
38
performance_impact:
33
- description: ''
39
+ description: ""
40
setup:
41
prerequisites:
36
- list: []
42
+ list:
43
+ - title: Configure `smartd` to write attribute information to files.
44
+ description: |
45
+ `smartd` must be running with `-A` option to write `smartd` attribute information to files.
46
+
47
+ For this you need to set `smartd_opts` (or `SMARTD_ARGS`, check _smartd.service_ content) in `/etc/default/smartmontools`:
48
+
49
+ ```
50
+ # dump smartd attrs info every 600 seconds
51
+ smartd_opts="-A /var/log/smartd/ -i 600"
52
+ ```
53
+
54
+ You may need to create the smartd directory before smartd will write to it:
55
+
56
+ ```sh
57
+ mkdir -p /var/log/smartd
58
+ ```
59
+
60
+ Otherwise, all the smartd `.csv` files may get written to `/var/lib/smartmontools` (default location). See also <https://linux.die.net/man/8/smartd> for more info on the `-A --attributelog=PREFIX` command.
61
+
62
+ `smartd` appends logs at every run. It's strongly recommended to use `logrotate` for smartd files.
63
configuration:
64
file:
39
- name: ''
40
- description: ''
65
+ name: "python.d/smartd_log.conf"
66
options:
42
- description: ''
67
+ description: |
68
+ This particular collector does not need further configuration to work if permissions are satisfied, but you can always customize it's data collection behavior.
69
+
70
+ There are 2 sections:
71
+
72
+ * Global variables
73
+ * One or more JOBS that can define multiple different instances to monitor.
74
+
75
+ The following options can be defined globally: priority, penalty, autodetection_retry, update_every, but can also be defined per JOB to override the global values.
76
+
77
+ Additionally, the following collapsed table contains all the options that can be configured inside a JOB definition.
78
+
79
+ Every configuration JOB starts with a `job_name` value which will appear in the dashboard, unless a `name` parameter is specified.
80
folding:
44
- title: ''
81
+ title: "Config options"
82
enabled: true
46
- list: []
83
+ list:
84
+ - name: log_path
85
+ description: path to smartd log files.
86
+ default_value: /var/log/smartd
87
+ required: true
88
+ - name: exclude_disks
89
+ description: Space-separated patterns. If the pattern is in the drive name, the module will not collect data for it.
90
+ default_value: ""
91
+ required: false
92
+ - name: age
93
+ description: Time in minutes since the last dump to file.
94
+ default_value: 30
95
+ required: false
96
+ - name: update_every
97
+ description: Sets the default data collection frequency.
98
+ default_value: 1
99
+ required: false
100
+ - name: priority
101
+ description: Controls the order of charts at the netdata dashboard.
102
+ default_value: 60000
103
+ required: false
104
+ - name: autodetection_retry
105
+ description: Sets the job re-check interval in seconds.
106
+ default_value: 0
107
+ required: false
108
+ - name: penalty
109
+ description: Indicates whether to apply penalty to update_every in case of failures.
110
+ default_value: yes
111
+ required: false
112
+ - name: name
113
+ description: >
114
+ Job name. This value will overwrite the `job_name` value. JOBS with the same name are mutually exclusive. Only one of them will be allowed running at any time. This allows autodetection to try several alternatives and pick the one that works.
115
+ default_value: ""
116
+ required: false
117
examples:
118
folding:
119
enabled: true
50
- title: ''
51
- list: []
120
+ title: "Config"
121
+ list:
122
+ - name: Basic
123
+ description: A basic configuration example.
124
+ folding:
125
+ enabled: false
126
+ config: |
127
+ custom:
128
+ name: smartd_log
129
+ log_path: '/var/log/smartd/'
130
troubleshooting:
131
problems:
132
list: []
@@ -57,220 +135,293 @@ metrics:
135
folding:
136
title: Metrics
137
enabled: false
60
- description: ""
61
- availability: []
138
+ description: "The metrics listed below are split in terms of availability on device type, SCSI or ATA."
139
+ availability:
140
+ - "SCSI"
141
+ - "ATA"
142
scopes:
63
- - name: global
64
- description: ""
65
- labels: []
66
- metrics:
67
- - name: smartd_log.read_error_rate
68
- description: Read Error Rate
69
- unit: "value"
70
- chart_type: line
71
- dimensions:
72
- - name: a dimension per device
73
- - name: smartd_log.seek_error_rate
74
- description: Seek Error Rate
75
- unit: "value"
76
- chart_type: line
77
- dimensions:
78
- - name: a dimension per device
79
- - name: smartd_log.soft_read_error_rate
80
- description: Soft Read Error Rate
81
- unit: "errors"
82
- chart_type: line
83
- dimensions:
84
- - name: a dimension per device
85
- - name: smartd_log.write_error_rate
86
- description: Write Error Rate
87
- unit: "value"
88
- chart_type: line
89
- dimensions:
90
- - name: a dimension per device
91
- - name: smartd_log.read_total_err_corrected
92
- description: Read Error Corrected
93
- unit: "errors"
94
- chart_type: line
95
- dimensions:
96
- - name: a dimension per device
97
- - name: smartd_log.read_total_unc_errors
98
- description: Read Error Uncorrected
99
- unit: "errors"
100
- chart_type: line
101
- dimensions:
102
- - name: a dimension per device
103
- - name: smartd_log.write_total_err_corrected
104
- description: Write Error Corrected
105
- unit: "errors"
106
- chart_type: line
107
- dimensions:
108
- - name: a dimension per device
109
- - name: smartd_log.write_total_unc_errors
110
- description: Write Error Uncorrected
111
- unit: "errors"
112
- chart_type: line
113
- dimensions:
114
- - name: a dimension per device
115
- - name: smartd_log.verify_total_err_corrected
116
- description: Verify Error Corrected
117
- unit: "errors"
118
- chart_type: line
119
- dimensions:
120
- - name: a dimension per device
121
- - name: smartd_log.verify_total_unc_errors
122
- description: Verify Error Uncorrected
123
- unit: "errors"
124
- chart_type: line
125
- dimensions:
126
- - name: a dimension per device
127
- - name: smartd_log.sata_interface_downshift
128
- description: SATA Interface Downshift
129
- unit: "events"
130
- chart_type: line
131
- dimensions:
132
- - name: a dimension per device
133
- - name: smartd_log.udma_crc_error_count
134
- description: UDMA CRC Error Count
135
- unit: "errors"
136
- chart_type: line
137
- dimensions:
138
- - name: a dimension per device
139
- - name: smartd_log.throughput_performance
140
- description: Throughput Performance
141
- unit: "value"
142
- chart_type: line
143
- dimensions:
144
- - name: a dimension per device
145
- - name: smartd_log.seek_time_performance
146
- description: Seek Time Performance
147
- unit: "value"
148
- chart_type: line
149
- dimensions:
150
- - name: a dimension per device
151
- - name: smartd_log.start_stop_count
152
- description: Start/Stop Count
153
- unit: "events"
154
- chart_type: line
155
- dimensions:
156
- - name: a dimension per device
157
- - name: smartd_log.power_on_hours_count
158
- description: Power-On Hours Count
159
- unit: "hours"
160
- chart_type: line
161
- dimensions:
162
- - name: a dimension per device
163
- - name: smartd_log.power_cycle_count
164
- description: Power Cycle Count
165
- unit: "events"
166
- chart_type: line
167
- dimensions:
168
- - name: a dimension per device
169
- - name: smartd_log.unexpected_power_loss
170
- description: Unexpected Power Loss
171
- unit: "events"
172
- chart_type: line
173
- dimensions:
174
- - name: a dimension per device
175
- - name: smartd_log.spin_up_time
176
- description: Spin-Up Time
177
- unit: "ms"
178
- chart_type: line
179
- dimensions:
180
- - name: a dimension per device
181
- - name: smartd_log.spin_up_retries
182
- description: Spin-up Retries
183
- unit: "retries"
184
- chart_type: line
185
- dimensions:
186
- - name: a dimension per device
187
- - name: smartd_log.calibration_retries
188
- description: Calibration Retries
189
- unit: "retries"
190
- chart_type: line
191
- dimensions:
192
- - name: a dimension per device
193
- - name: smartd_log.airflow_temperature_celsius
194
- description: Airflow Temperature Celsius
195
- unit: "celsius"
196
- chart_type: line
197
- dimensions:
198
- - name: a dimension per device
199
- - name: smartd_log.temperature_celsius
200
- description: Temperature
201
- unit: "celsius"
202
- chart_type: line
203
- dimensions:
204
- - name: a dimension per device
205
- - name: smartd_log.reallocated_sectors_count
206
- description: Reallocated Sectors Count
207
- unit: "sectors"
208
- chart_type: line
209
- dimensions:
210
- - name: a dimension per device
211
- - name: smartd_log.reserved_block_count
212
- description: Reserved Block Count
213
- unit: "percentage"
214
- chart_type: line
215
- dimensions:
216
- - name: a dimension per device
217
- - name: smartd_log.program_fail_count
218
- description: Program Fail Count
219
- unit: "errors"
220
- chart_type: line
221
- dimensions:
222
- - name: a dimension per device
223
- - name: smartd_log.erase_fail_count
224
- description: Erase Fail Count
225
- unit: "failures"
226
- chart_type: line
227
- dimensions:
228
- - name: a dimension per device
229
- - name: smartd_log.wear_leveller_worst_case_erase_count
230
- description: Wear Leveller Worst Case Erase Count
231
- unit: "erases"
232
- chart_type: line
233
- dimensions:
234
- - name: a dimension per device
235
- - name: smartd_log.unused_reserved_nand_blocks
236
- description: Unused Reserved NAND Blocks
237
- unit: "blocks"
238
- chart_type: line
239
- dimensions:
240
- - name: a dimension per device
241
- - name: smartd_log.reallocation_event_count
242
- description: Reallocation Event Count
243
- unit: "events"
244
- chart_type: line
245
- dimensions:
246
- - name: a dimension per device
247
- - name: smartd_log.current_pending_sector_count
248
- description: Current Pending Sector Count
249
- unit: "sectors"
250
- chart_type: line
251
- dimensions:
252
- - name: a dimension per device
253
- - name: smartd_log.offline_uncorrectable_sector_count
254
- description: Offline Uncorrectable Sector Count
255
- unit: "sectors"
256
- chart_type: line
257
- dimensions:
258
- - name: a dimension per device
259
- - name: smartd_log.percent_lifetime_used
260
- description: Percent Lifetime Used
261
- unit: "percentage"
262
- chart_type: line
263
- dimensions:
264
- - name: a dimension per device
265
- - name: smartd_log.media_wearout_indicator
266
- description: Media Wearout Indicator
267
- unit: "percentage"
268
- chart_type: line
269
- dimensions:
270
- - name: a dimension per device
271
- - name: smartd_log.nand_writes_1gib
272
- description: NAND Writes
273
- unit: "GiB"
274
- chart_type: line
275
- dimensions:
276
- - name: a dimension per device
143
+ - name: global
144
+ description: "These metrics refer to the entire monitored application."
145
+ labels: []
146
+ metrics:
147
+ - name: smartd_log.read_error_rate
148
+ description: Read Error Rate
149
+ availability:
150
+ - ATA
151
+ unit: "value"
152
+ chart_type: line
153
+ dimensions:
154
+ - name: a dimension per device
155
+ - name: smartd_log.seek_error_rate
156
+ description: Seek Error Rate
157
+ availability:
158
+ - ATA
159
+ unit: "value"
160
+ chart_type: line
161
+ dimensions:
162
+ - name: a dimension per device
163
+ - name: smartd_log.soft_read_error_rate
164
+ description: Soft Read Error Rate
165
+ availability:
166
+ - ATA
167
+ unit: "errors"
168
+ chart_type: line
169
+ dimensions:
170
+ - name: a dimension per device
171
+ - name: smartd_log.write_error_rate
172
+ description: Write Error Rate
173
+ availability:
174
+ - ATA
175
+ unit: "value"
176
+ chart_type: line
177
+ dimensions:
178
+ - name: a dimension per device
179
+ - name: smartd_log.read_total_err_corrected
180
+ description: Read Error Corrected
181
+ availability:
182
+ - SCSI
183
+ unit: "errors"
184
+ chart_type: line
185
+ dimensions:
186
+ - name: a dimension per device
187
+ - name: smartd_log.read_total_unc_errors
188
+ description: Read Error Uncorrected
189
+ availability:
190
+ - SCSI
191
+ unit: "errors"
192
+ chart_type: line
193
+ dimensions:
194
+ - name: a dimension per device
195
+ - name: smartd_log.write_total_err_corrected
196
+ description: Write Error Corrected
197
+ availability:
198
+ - SCSI
199
+ unit: "errors"
200
+ chart_type: line
201
+ dimensions:
202
+ - name: a dimension per device
203
+ - name: smartd_log.write_total_unc_errors
204
+ description: Write Error Uncorrected
205
+ availability:
206
+ - SCSI
207
+ unit: "errors"
208
+ chart_type: line
209
+ dimensions:
210
+ - name: a dimension per device
211
+ - name: smartd_log.verify_total_err_corrected
212
+ description: Verify Error Corrected
213
+ availability:
214
+ - SCSI
215
+ unit: "errors"
216
+ chart_type: line
217
+ dimensions:
218
+ - name: a dimension per device
219
+ - name: smartd_log.verify_total_unc_errors
220
+ description: Verify Error Uncorrected
221
+ availability:
222
+ - SCSI
223
+ unit: "errors"
224
+ chart_type: line
225
+ dimensions:
226
+ - name: a dimension per device
227
+ - name: smartd_log.sata_interface_downshift
228
+ description: SATA Interface Downshift
229
+ availability:
230
+ - ATA
231
+ unit: "events"
232
+ chart_type: line
233
+ dimensions:
234
+ - name: a dimension per device
235
+ - name: smartd_log.udma_crc_error_count
236
+ description: UDMA CRC Error Count
237
+ availability:
238
+ - ATA
239
+ unit: "errors"
240
+ chart_type: line
241
+ dimensions:
242
+ - name: a dimension per device
243
+ - name: smartd_log.throughput_performance
244
+ description: Throughput Performance
245
+ availability:
246
+ - ATA
247
+ unit: "value"
248
+ chart_type: line
249
+ dimensions:
250
+ - name: a dimension per device
251
+ - name: smartd_log.seek_time_performance
252
+ description: Seek Time Performance
253
+ availability:
254
+ - ATA
255
+ unit: "value"
256
+ chart_type: line
257
+ dimensions:
258
+ - name: a dimension per device
259
+ - name: smartd_log.start_stop_count
260
+ description: Start/Stop Count
261
+ availability:
262
+ - ATA
263
+ unit: "events"
264
+ chart_type: line
265
+ dimensions:
266
+ - name: a dimension per device
267
+ - name: smartd_log.power_on_hours_count
268
+ description: Power-On Hours Count
269
+ availability:
270
+ - ATA
271
+ unit: "hours"
272
+ chart_type: line
273
+ dimensions:
274
+ - name: a dimension per device
275
+ - name: smartd_log.power_cycle_count
276
+ description: Power Cycle Count
277
+ availability:
278
+ - ATA
279
+ unit: "events"
280
+ chart_type: line
281
+ dimensions:
282
+ - name: a dimension per device
283
+ - name: smartd_log.unexpected_power_loss
284
+ description: Unexpected Power Loss
285
+ availability:
286
+ - ATA
287
+ unit: "events"
288
+ chart_type: line
289
+ dimensions:
290
+ - name: a dimension per device
291
+ - name: smartd_log.spin_up_time
292
+ description: Spin-Up Time
293
+ availability:
294
+ - ATA
295
+ unit: "ms"
296
+ chart_type: line
297
+ dimensions:
298
+ - name: a dimension per device
299
+ - name: smartd_log.spin_up_retries
300
+ description: Spin-up Retries
301
+ availability:
302
+ - ATA
303
+ unit: "retries"
304
+ chart_type: line
305
+ dimensions:
306
+ - name: a dimension per device
307
+ - name: smartd_log.calibration_retries
308
+ description: Calibration Retries
309
+ availability:
310
+ - ATA
311
+ unit: "retries"
312
+ chart_type: line
313
+ dimensions:
314
+ - name: a dimension per device
315
+ - name: smartd_log.airflow_temperature_celsius
316
+ description: Airflow Temperature Celsius
317
+ availability:
318
+ - ATA
319
+ unit: "celsius"
320
+ chart_type: line
321
+ dimensions:
322
+ - name: a dimension per device
323
+ - name: smartd_log.temperature_celsius
324
+ description: Temperature
325
+ availability:
326
+ - SCSI
327
+ - ATA
328
+ unit: "celsius"
329
+ chart_type: line
330
+ dimensions:
331
+ - name: a dimension per device
332
+ - name: smartd_log.reallocated_sectors_count
333
+ description: Reallocated Sectors Count
334
+ availability:
335
+ - ATA
336
+ unit: "sectors"
337
+ chart_type: line
338
+ dimensions:
339
+ - name: a dimension per device
340
+ - name: smartd_log.reserved_block_count
341
+ description: Reserved Block Count
342
+ availability:
343
+ - ATA
344
+ unit: "percentage"
345
+ chart_type: line
346
+ dimensions:
347
+ - name: a dimension per device
348
+ - name: smartd_log.program_fail_count
349
+ description: Program Fail Count
350
+ availability:
351
+ - ATA
352
+ unit: "errors"
353
+ chart_type: line
354
+ dimensions:
355
+ - name: a dimension per device
356
+ - name: smartd_log.erase_fail_count
357
+ description: Erase Fail Count
358
+ availability:
359
+ - ATA
360
+ unit: "failures"
361
+ chart_type: line
362
+ dimensions:
363
+ - name: a dimension per device
364
+ - name: smartd_log.wear_leveller_worst_case_erase_count
365
+ description: Wear Leveller Worst Case Erase Count
366
+ availability:
367
+ - ATA
368
+ unit: "erases"
369
+ chart_type: line
370
+ dimensions:
371
+ - name: a dimension per device
372
+ - name: smartd_log.unused_reserved_nand_blocks
373
+ description: Unused Reserved NAND Blocks
374
+ availability:
375
+ - ATA
376
+ unit: "blocks"
377
+ chart_type: line
378
+ dimensions:
379
+ - name: a dimension per device
380
+ - name: smartd_log.reallocation_event_count
381
+ description: Reallocation Event Count
382
+ availability:
383
+ - ATA
384
+ unit: "events"
385
+ chart_type: line
386
+ dimensions:
387
+ - name: a dimension per device
388
+ - name: smartd_log.current_pending_sector_count
389
+ description: Current Pending Sector Count
390
+ availability:
391
+ - ATA
392
+ unit: "sectors"
393
+ chart_type: line
394
+ dimensions:
395
+ - name: a dimension per device
396
+ - name: smartd_log.offline_uncorrectable_sector_count
397
+ description: Offline Uncorrectable Sector Count
398
+ availability:
399
+ - ATA
400
+ unit: "sectors"
401
+ chart_type: line
402
+ dimensions:
403
+ - name: a dimension per device
404
+ - name: smartd_log.percent_lifetime_used
405
+ description: Percent Lifetime Used
406
+ availability:
407
+ - ATA
408
+ unit: "percentage"
409
+ chart_type: line
410
+ dimensions:
411
+ - name: a dimension per device
412
+ - name: smartd_log.media_wearout_indicator
413
+ description: Media Wearout Indicator
414
+ availability:
415
+ - ATA
416
+ unit: "percentage"
417
+ chart_type: line
418
+ dimensions:
419
+ - name: a dimension per device
420
+ - name: smartd_log.nand_writes_1gib
421
+ description: NAND Writes
422
+ availability:
423
+ - ATA
424
+ unit: "GiB"
425
+ chart_type: line
426
+ dimensions:
427
+ - name: a dimension per device
collectors/python.d.plugin/squid/metadata.yaml
+1
@@ -125,6 +125,7 @@ setup:
125
host: '192.0.2.1'
126
port: 3128
127
request: 'cache_object://192.0.2.1:3128/counters'
128
+troubleshooting:
129
problems:
130
list: []
131
alerts: []