zfstozab 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 31a8b9fa7859a2e5be07f1deb3988d53a10102ff0edb0a75a03bc0df83082234
4
+ data.tar.gz: d6c05966d060cdf92808ac954c76e32bc3f4eefa88d3e68d2bd705fe3eb72204
5
+ SHA512:
6
+ metadata.gz: 2d4134012a2938d517eca732ef9ef25aad129aa55932993794a315bc2a68175a8d2d4cb128b42fa00eb7df2c1b12bb48139154fec6bbb80ce13ef2f4f46dac90
7
+ data.tar.gz: 59fc7e4d879b915876ec97caeff4f87b142bd8d4f942dfb0b90d5fa8714882bd6e358f9636d48f2753d349f4e5a937319065465e1f1a699150a53629a1648a21
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in zfstozab.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem 'pry'
8
+ gem 'pry-byebug'
@@ -0,0 +1,38 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ zfstozab (0.1.0)
5
+ optimist
6
+ zabbix_senderline
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ remote: http://gemserver.priv.svdasein.net:9292/
11
+ specs:
12
+ awesome_print (1.8.0)
13
+ byebug (11.1.3)
14
+ coderay (1.1.3)
15
+ method_source (1.0.0)
16
+ optimist (3.0.1)
17
+ pry (0.13.1)
18
+ coderay (~> 1.1)
19
+ method_source (~> 1.0)
20
+ pry-byebug (3.9.0)
21
+ byebug (~> 11.0)
22
+ pry (~> 0.13.0)
23
+ rake (12.3.3)
24
+ zabbix_senderline (1.0.3)
25
+ awesome_print
26
+
27
+ PLATFORMS
28
+ ruby
29
+
30
+ DEPENDENCIES
31
+ pry
32
+ pry-byebug
33
+ rake (~> 12.0)
34
+ zabbix_senderline!
35
+ zfstozab!
36
+
37
+ BUNDLED WITH
38
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,40 @@
1
+ # zfstozab
2
+
3
+ This gem installs an executable - zabbix-zfs.rb - that pushes zfs procfs data to zabbix. It is built on the [zabbix_sender_api](https://gitlab.com/svdasein/zabbix_sender_api) gem, which will be installed as a dependency. The Zabbix template is in this git repository as zabbix-template-zfs.xml. Just download and import it.
4
+
5
+ Note that there are some items in the procfs data that I'm unclear on. You'll see that in the template (e.g. rupdate, wlentime...). I rendered them as change per second values because else they're just gigantic counter looking things, and they do appear to go up and down when treated as a rate. Corrections are welcome.
6
+
7
+ ## Installation
8
+
9
+ $ gem install zfstozab
10
+
11
+ ## Usage
12
+
13
+ ```
14
+ zabbix-zfs.rb --help
15
+ Options:
16
+ -p, --procfsdir=<s> Path to the root of the zfs proc stuff (default: /proc/spl/kstat/zfs)
17
+ -h, --hostname=<s> Name of host being monitored (default: fileserver.mynet.org)
18
+ -r, --proxy=<s> Proxy to send data to (default: 192.168.1.1)
19
+ -s, --senderpath=<s> Path to zabbix_sender (default: zabbix_sender)
20
+ -d, --dump
21
+ -e, --help Show this message
22
+ ```
23
+
24
+
25
+ Invocation can be as simple as:
26
+
27
+ ```
28
+ root@myserver:~# zabbix-zfs.rb
29
+ zabbix_sender [2020115]: DEBUG: answer [{"response":"success","info":"processed: 137; failed: 0; total: 137; seconds spent: 0.072812"}]
30
+ info from server: "processed: 137; failed: 0; total: 137; seconds spent: 0.072812"
31
+ sent: 137; skipped: 0; total: 137
32
+ ```
33
+ ... presuming that your zabbix_agentd.conf is in one of the usual places and is properly configured, and that zabbix_sender is on the path somewhere.
34
+
35
+ Make a quick cron job w/ a 1 min interval to get 60s samples.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "zfstozab"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ require "pry"
11
+ Pry.start
12
+
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,65 @@
1
+ #!/usr/bin/env ruby
2
+ require 'zabbix_sender_api'
3
+ require 'optimist'
4
+ require 'json'
5
+
6
+
7
+ hostname = Zabbix::AgentConfiguration.zabbixHostname
8
+ proxyaddr = Zabbix::AgentConfiguration.zabbixProxy
9
+ proxyaddr = '127.0.0.1' if not proxyaddr
10
+ procfsdir = '/proc/spl/kstat/zfs'
11
+
12
+ opts = Optimist::options do
13
+ opt :procfsdir, "Path to the root of the zfs proc stuff", :type => :string, :default => procfsdir
14
+ opt :hostname, "Name of host being monitored",:type=>:string, :default => hostname
15
+ opt :proxy, "Proxy to send data to", :type => :string , :default => proxyaddr
16
+ opt :senderpath, "Path to zabbix_sender", :type=>:string , :default => "zabbix_sender"
17
+ opt :dump
18
+ end
19
+
20
+ zfsproc = Dir.new(opts[:procfsdir])
21
+
22
+ zabbix_sender = Zabbix::Sender::Pipe.new(proxy: opts[:proxy])
23
+ zabbixData = Zabbix::Sender::Batch.new(timestamp: Time.now, hostname: opts[:hostname])
24
+
25
+
26
+ poolDisco = Zabbix::Sender::Discovery.new(key: 'zpool')
27
+ pooldirs = Dir.glob(%Q(#{opts[:procfsdir]}/*)).select{|f| File.directory?(f)}
28
+ pooldirs.collect {|f| File.basename(f)}.each { |n|
29
+ poolDisco.add_entity(:POOL => n)
30
+ }
31
+
32
+ fsDisco = Zabbix::Sender::Discovery.new(key: 'zfs')
33
+ pat = /(\S+)\s+\d\s+(\S+)/
34
+ pooldirs.each {|pooldir|
35
+ state = File.read(%Q(#{pooldir}/state)).chomp
36
+ zabbixData.addItemData(key: %Q(zpool_state[#{File.basename(pooldir)}]),value: state)
37
+ io = File.readlines(%Q(#{pooldir}/io))
38
+ io.shift # dump first line - don't know what's in it - no dox
39
+ keys = io.shift.split(' ')
40
+ values = io.shift.split(' ')
41
+ poolstats = Hash[*keys.zip(values).flatten]
42
+ poolstats.each_pair {|k,v|
43
+ zabbixData.addItemData(key: %Q(zpool_#{k}[#{File.basename(pooldir)}]),value: v)
44
+ }
45
+ fss = Dir.glob(%Q(#{pooldir}/objset-*))
46
+ fss.each { |fsentry|
47
+ fsdata = File.readlines(fsentry).collect{|each|each.chomp}
48
+ fsdata.shift(2) # dump first line + col header
49
+ fsdata = Hash[*fsdata.collect{|each| pat.match(each).captures}.flatten]
50
+ fsDisco.add_entity(:FS => fsdata['dataset_name'].tr('/','_'))
51
+ fsdata.each_pair {|k,v|
52
+ next if k == 'dataset_name'
53
+ zabbixData.addItemData(key: %Q(zfs_#{k}[#{fsdata['dataset_name'].tr('/','_')}]),value: v)
54
+ }
55
+ }
56
+ }
57
+
58
+ zabbixData.addDiscovery(fsDisco)
59
+ zabbixData.addDiscovery(poolDisco)
60
+
61
+ if opts[:dump]
62
+ puts zabbixData.to_senderline
63
+ else
64
+ zabbix_sender.sendBatchAtomic(zabbixData)
65
+ end
@@ -0,0 +1,6 @@
1
+ require "zfstozab/version"
2
+
3
+ module Zfstozab
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,3 @@
1
+ module Zfstozab
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,1367 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <zabbix_export>
3
+ <version>4.0</version>
4
+ <date>2020-08-02T22:46:31Z</date>
5
+ <groups>
6
+ <group>
7
+ <name>Templates</name>
8
+ </group>
9
+ </groups>
10
+ <templates>
11
+ <template>
12
+ <template>Template ZFS</template>
13
+ <name>Template ZFS</name>
14
+ <description/>
15
+ <groups>
16
+ <group>
17
+ <name>Templates</name>
18
+ </group>
19
+ </groups>
20
+ <applications>
21
+ <application>
22
+ <name>ZDatasets</name>
23
+ </application>
24
+ <application>
25
+ <name>ZPools</name>
26
+ </application>
27
+ </applications>
28
+ <items/>
29
+ <discovery_rules>
30
+ <discovery_rule>
31
+ <name>zfs</name>
32
+ <type>2</type>
33
+ <snmp_community/>
34
+ <snmp_oid/>
35
+ <key>zfs</key>
36
+ <delay>0</delay>
37
+ <status>0</status>
38
+ <allowed_hosts/>
39
+ <snmpv3_contextname/>
40
+ <snmpv3_securityname/>
41
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
42
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
43
+ <snmpv3_authpassphrase/>
44
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
45
+ <snmpv3_privpassphrase/>
46
+ <params/>
47
+ <ipmi_sensor/>
48
+ <authtype>0</authtype>
49
+ <username/>
50
+ <password/>
51
+ <publickey/>
52
+ <privatekey/>
53
+ <port/>
54
+ <filter>
55
+ <evaltype>0</evaltype>
56
+ <formula/>
57
+ <conditions/>
58
+ </filter>
59
+ <lifetime>30d</lifetime>
60
+ <description/>
61
+ <item_prototypes>
62
+ <item_prototype>
63
+ <name>Bytes read per second for dataset {#FS}</name>
64
+ <type>2</type>
65
+ <snmp_community/>
66
+ <snmp_oid/>
67
+ <key>zfs_nread[{#FS}]</key>
68
+ <delay>0</delay>
69
+ <history>90d</history>
70
+ <trends>365d</trends>
71
+ <status>0</status>
72
+ <value_type>0</value_type>
73
+ <allowed_hosts/>
74
+ <units>B/s</units>
75
+ <snmpv3_contextname/>
76
+ <snmpv3_securityname/>
77
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
78
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
79
+ <snmpv3_authpassphrase/>
80
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
81
+ <snmpv3_privpassphrase/>
82
+ <params/>
83
+ <ipmi_sensor/>
84
+ <authtype>0</authtype>
85
+ <username/>
86
+ <password/>
87
+ <publickey/>
88
+ <privatekey/>
89
+ <port/>
90
+ <description/>
91
+ <inventory_link>0</inventory_link>
92
+ <applications>
93
+ <application>
94
+ <name>ZDatasets</name>
95
+ </application>
96
+ </applications>
97
+ <valuemap/>
98
+ <logtimefmt/>
99
+ <preprocessing>
100
+ <step>
101
+ <type>10</type>
102
+ <params/>
103
+ </step>
104
+ </preprocessing>
105
+ <jmx_endpoint/>
106
+ <timeout>3s</timeout>
107
+ <url/>
108
+ <query_fields/>
109
+ <posts/>
110
+ <status_codes>200</status_codes>
111
+ <follow_redirects>1</follow_redirects>
112
+ <post_type>0</post_type>
113
+ <http_proxy/>
114
+ <headers/>
115
+ <retrieve_mode>0</retrieve_mode>
116
+ <request_method>0</request_method>
117
+ <output_format>0</output_format>
118
+ <allow_traps>0</allow_traps>
119
+ <ssl_cert_file/>
120
+ <ssl_key_file/>
121
+ <ssl_key_password/>
122
+ <verify_peer>0</verify_peer>
123
+ <verify_host>0</verify_host>
124
+ <application_prototypes/>
125
+ <master_item/>
126
+ </item_prototype>
127
+ <item_prototype>
128
+ <name>nunlinked per second for dataset {#FS}</name>
129
+ <type>2</type>
130
+ <snmp_community/>
131
+ <snmp_oid/>
132
+ <key>zfs_nunlinked[{#FS}]</key>
133
+ <delay>0</delay>
134
+ <history>90d</history>
135
+ <trends>365d</trends>
136
+ <status>0</status>
137
+ <value_type>0</value_type>
138
+ <allowed_hosts/>
139
+ <units>writes/s</units>
140
+ <snmpv3_contextname/>
141
+ <snmpv3_securityname/>
142
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
143
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
144
+ <snmpv3_authpassphrase/>
145
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
146
+ <snmpv3_privpassphrase/>
147
+ <params/>
148
+ <ipmi_sensor/>
149
+ <authtype>0</authtype>
150
+ <username/>
151
+ <password/>
152
+ <publickey/>
153
+ <privatekey/>
154
+ <port/>
155
+ <description/>
156
+ <inventory_link>0</inventory_link>
157
+ <applications>
158
+ <application>
159
+ <name>ZDatasets</name>
160
+ </application>
161
+ </applications>
162
+ <valuemap/>
163
+ <logtimefmt/>
164
+ <preprocessing>
165
+ <step>
166
+ <type>10</type>
167
+ <params/>
168
+ </step>
169
+ </preprocessing>
170
+ <jmx_endpoint/>
171
+ <timeout>3s</timeout>
172
+ <url/>
173
+ <query_fields/>
174
+ <posts/>
175
+ <status_codes>200</status_codes>
176
+ <follow_redirects>1</follow_redirects>
177
+ <post_type>0</post_type>
178
+ <http_proxy/>
179
+ <headers/>
180
+ <retrieve_mode>0</retrieve_mode>
181
+ <request_method>0</request_method>
182
+ <output_format>0</output_format>
183
+ <allow_traps>0</allow_traps>
184
+ <ssl_cert_file/>
185
+ <ssl_key_file/>
186
+ <ssl_key_password/>
187
+ <verify_peer>0</verify_peer>
188
+ <verify_host>0</verify_host>
189
+ <application_prototypes/>
190
+ <master_item/>
191
+ </item_prototype>
192
+ <item_prototype>
193
+ <name>nunlinks per second for dataset {#FS}</name>
194
+ <type>2</type>
195
+ <snmp_community/>
196
+ <snmp_oid/>
197
+ <key>zfs_nunlinks[{#FS}]</key>
198
+ <delay>0</delay>
199
+ <history>90d</history>
200
+ <trends>365d</trends>
201
+ <status>0</status>
202
+ <value_type>0</value_type>
203
+ <allowed_hosts/>
204
+ <units>writes/s</units>
205
+ <snmpv3_contextname/>
206
+ <snmpv3_securityname/>
207
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
208
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
209
+ <snmpv3_authpassphrase/>
210
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
211
+ <snmpv3_privpassphrase/>
212
+ <params/>
213
+ <ipmi_sensor/>
214
+ <authtype>0</authtype>
215
+ <username/>
216
+ <password/>
217
+ <publickey/>
218
+ <privatekey/>
219
+ <port/>
220
+ <description/>
221
+ <inventory_link>0</inventory_link>
222
+ <applications>
223
+ <application>
224
+ <name>ZDatasets</name>
225
+ </application>
226
+ </applications>
227
+ <valuemap/>
228
+ <logtimefmt/>
229
+ <preprocessing>
230
+ <step>
231
+ <type>10</type>
232
+ <params/>
233
+ </step>
234
+ </preprocessing>
235
+ <jmx_endpoint/>
236
+ <timeout>3s</timeout>
237
+ <url/>
238
+ <query_fields/>
239
+ <posts/>
240
+ <status_codes>200</status_codes>
241
+ <follow_redirects>1</follow_redirects>
242
+ <post_type>0</post_type>
243
+ <http_proxy/>
244
+ <headers/>
245
+ <retrieve_mode>0</retrieve_mode>
246
+ <request_method>0</request_method>
247
+ <output_format>0</output_format>
248
+ <allow_traps>0</allow_traps>
249
+ <ssl_cert_file/>
250
+ <ssl_key_file/>
251
+ <ssl_key_password/>
252
+ <verify_peer>0</verify_peer>
253
+ <verify_host>0</verify_host>
254
+ <application_prototypes/>
255
+ <master_item/>
256
+ </item_prototype>
257
+ <item_prototype>
258
+ <name>Bytes written per second for dataset {#FS}</name>
259
+ <type>2</type>
260
+ <snmp_community/>
261
+ <snmp_oid/>
262
+ <key>zfs_nwritten[{#FS}]</key>
263
+ <delay>0</delay>
264
+ <history>90d</history>
265
+ <trends>365d</trends>
266
+ <status>0</status>
267
+ <value_type>0</value_type>
268
+ <allowed_hosts/>
269
+ <units>B/s</units>
270
+ <snmpv3_contextname/>
271
+ <snmpv3_securityname/>
272
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
273
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
274
+ <snmpv3_authpassphrase/>
275
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
276
+ <snmpv3_privpassphrase/>
277
+ <params/>
278
+ <ipmi_sensor/>
279
+ <authtype>0</authtype>
280
+ <username/>
281
+ <password/>
282
+ <publickey/>
283
+ <privatekey/>
284
+ <port/>
285
+ <description/>
286
+ <inventory_link>0</inventory_link>
287
+ <applications>
288
+ <application>
289
+ <name>ZDatasets</name>
290
+ </application>
291
+ </applications>
292
+ <valuemap/>
293
+ <logtimefmt/>
294
+ <preprocessing>
295
+ <step>
296
+ <type>10</type>
297
+ <params/>
298
+ </step>
299
+ </preprocessing>
300
+ <jmx_endpoint/>
301
+ <timeout>3s</timeout>
302
+ <url/>
303
+ <query_fields/>
304
+ <posts/>
305
+ <status_codes>200</status_codes>
306
+ <follow_redirects>1</follow_redirects>
307
+ <post_type>0</post_type>
308
+ <http_proxy/>
309
+ <headers/>
310
+ <retrieve_mode>0</retrieve_mode>
311
+ <request_method>0</request_method>
312
+ <output_format>0</output_format>
313
+ <allow_traps>0</allow_traps>
314
+ <ssl_cert_file/>
315
+ <ssl_key_file/>
316
+ <ssl_key_password/>
317
+ <verify_peer>0</verify_peer>
318
+ <verify_host>0</verify_host>
319
+ <application_prototypes/>
320
+ <master_item/>
321
+ </item_prototype>
322
+ <item_prototype>
323
+ <name>Reads per second for dataset {#FS}</name>
324
+ <type>2</type>
325
+ <snmp_community/>
326
+ <snmp_oid/>
327
+ <key>zfs_reads[{#FS}]</key>
328
+ <delay>0</delay>
329
+ <history>90d</history>
330
+ <trends>365d</trends>
331
+ <status>0</status>
332
+ <value_type>0</value_type>
333
+ <allowed_hosts/>
334
+ <units>reads/s</units>
335
+ <snmpv3_contextname/>
336
+ <snmpv3_securityname/>
337
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
338
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
339
+ <snmpv3_authpassphrase/>
340
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
341
+ <snmpv3_privpassphrase/>
342
+ <params/>
343
+ <ipmi_sensor/>
344
+ <authtype>0</authtype>
345
+ <username/>
346
+ <password/>
347
+ <publickey/>
348
+ <privatekey/>
349
+ <port/>
350
+ <description/>
351
+ <inventory_link>0</inventory_link>
352
+ <applications>
353
+ <application>
354
+ <name>ZDatasets</name>
355
+ </application>
356
+ </applications>
357
+ <valuemap/>
358
+ <logtimefmt/>
359
+ <preprocessing>
360
+ <step>
361
+ <type>10</type>
362
+ <params/>
363
+ </step>
364
+ </preprocessing>
365
+ <jmx_endpoint/>
366
+ <timeout>3s</timeout>
367
+ <url/>
368
+ <query_fields/>
369
+ <posts/>
370
+ <status_codes>200</status_codes>
371
+ <follow_redirects>1</follow_redirects>
372
+ <post_type>0</post_type>
373
+ <http_proxy/>
374
+ <headers/>
375
+ <retrieve_mode>0</retrieve_mode>
376
+ <request_method>0</request_method>
377
+ <output_format>0</output_format>
378
+ <allow_traps>0</allow_traps>
379
+ <ssl_cert_file/>
380
+ <ssl_key_file/>
381
+ <ssl_key_password/>
382
+ <verify_peer>0</verify_peer>
383
+ <verify_host>0</verify_host>
384
+ <application_prototypes/>
385
+ <master_item/>
386
+ </item_prototype>
387
+ <item_prototype>
388
+ <name>Writes per second for dataset {#FS}</name>
389
+ <type>2</type>
390
+ <snmp_community/>
391
+ <snmp_oid/>
392
+ <key>zfs_writes[{#FS}]</key>
393
+ <delay>0</delay>
394
+ <history>90d</history>
395
+ <trends>365d</trends>
396
+ <status>0</status>
397
+ <value_type>0</value_type>
398
+ <allowed_hosts/>
399
+ <units>writes/s</units>
400
+ <snmpv3_contextname/>
401
+ <snmpv3_securityname/>
402
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
403
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
404
+ <snmpv3_authpassphrase/>
405
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
406
+ <snmpv3_privpassphrase/>
407
+ <params/>
408
+ <ipmi_sensor/>
409
+ <authtype>0</authtype>
410
+ <username/>
411
+ <password/>
412
+ <publickey/>
413
+ <privatekey/>
414
+ <port/>
415
+ <description/>
416
+ <inventory_link>0</inventory_link>
417
+ <applications>
418
+ <application>
419
+ <name>ZDatasets</name>
420
+ </application>
421
+ </applications>
422
+ <valuemap/>
423
+ <logtimefmt/>
424
+ <preprocessing>
425
+ <step>
426
+ <type>10</type>
427
+ <params/>
428
+ </step>
429
+ </preprocessing>
430
+ <jmx_endpoint/>
431
+ <timeout>3s</timeout>
432
+ <url/>
433
+ <query_fields/>
434
+ <posts/>
435
+ <status_codes>200</status_codes>
436
+ <follow_redirects>1</follow_redirects>
437
+ <post_type>0</post_type>
438
+ <http_proxy/>
439
+ <headers/>
440
+ <retrieve_mode>0</retrieve_mode>
441
+ <request_method>0</request_method>
442
+ <output_format>0</output_format>
443
+ <allow_traps>0</allow_traps>
444
+ <ssl_cert_file/>
445
+ <ssl_key_file/>
446
+ <ssl_key_password/>
447
+ <verify_peer>0</verify_peer>
448
+ <verify_host>0</verify_host>
449
+ <application_prototypes/>
450
+ <master_item/>
451
+ </item_prototype>
452
+ </item_prototypes>
453
+ <trigger_prototypes/>
454
+ <graph_prototypes/>
455
+ <host_prototypes/>
456
+ <jmx_endpoint/>
457
+ <timeout>3s</timeout>
458
+ <url/>
459
+ <query_fields/>
460
+ <posts/>
461
+ <status_codes>200</status_codes>
462
+ <follow_redirects>1</follow_redirects>
463
+ <post_type>0</post_type>
464
+ <http_proxy/>
465
+ <headers/>
466
+ <retrieve_mode>0</retrieve_mode>
467
+ <request_method>0</request_method>
468
+ <allow_traps>0</allow_traps>
469
+ <ssl_cert_file/>
470
+ <ssl_key_file/>
471
+ <ssl_key_password/>
472
+ <verify_peer>0</verify_peer>
473
+ <verify_host>0</verify_host>
474
+ </discovery_rule>
475
+ <discovery_rule>
476
+ <name>zpools</name>
477
+ <type>2</type>
478
+ <snmp_community/>
479
+ <snmp_oid/>
480
+ <key>zpool</key>
481
+ <delay>0</delay>
482
+ <status>0</status>
483
+ <allowed_hosts/>
484
+ <snmpv3_contextname/>
485
+ <snmpv3_securityname/>
486
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
487
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
488
+ <snmpv3_authpassphrase/>
489
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
490
+ <snmpv3_privpassphrase/>
491
+ <params/>
492
+ <ipmi_sensor/>
493
+ <authtype>0</authtype>
494
+ <username/>
495
+ <password/>
496
+ <publickey/>
497
+ <privatekey/>
498
+ <port/>
499
+ <filter>
500
+ <evaltype>0</evaltype>
501
+ <formula/>
502
+ <conditions/>
503
+ </filter>
504
+ <lifetime>30d</lifetime>
505
+ <description/>
506
+ <item_prototypes>
507
+ <item_prototype>
508
+ <name>Bytes read per second for pool {#POOL}</name>
509
+ <type>2</type>
510
+ <snmp_community/>
511
+ <snmp_oid/>
512
+ <key>zpool_nread[{#POOL}]</key>
513
+ <delay>0</delay>
514
+ <history>90d</history>
515
+ <trends>365d</trends>
516
+ <status>0</status>
517
+ <value_type>0</value_type>
518
+ <allowed_hosts/>
519
+ <units>B/s</units>
520
+ <snmpv3_contextname/>
521
+ <snmpv3_securityname/>
522
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
523
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
524
+ <snmpv3_authpassphrase/>
525
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
526
+ <snmpv3_privpassphrase/>
527
+ <params/>
528
+ <ipmi_sensor/>
529
+ <authtype>0</authtype>
530
+ <username/>
531
+ <password/>
532
+ <publickey/>
533
+ <privatekey/>
534
+ <port/>
535
+ <description/>
536
+ <inventory_link>0</inventory_link>
537
+ <applications>
538
+ <application>
539
+ <name>ZPools</name>
540
+ </application>
541
+ </applications>
542
+ <valuemap/>
543
+ <logtimefmt/>
544
+ <preprocessing>
545
+ <step>
546
+ <type>10</type>
547
+ <params/>
548
+ </step>
549
+ </preprocessing>
550
+ <jmx_endpoint/>
551
+ <timeout>3s</timeout>
552
+ <url/>
553
+ <query_fields/>
554
+ <posts/>
555
+ <status_codes>200</status_codes>
556
+ <follow_redirects>1</follow_redirects>
557
+ <post_type>0</post_type>
558
+ <http_proxy/>
559
+ <headers/>
560
+ <retrieve_mode>0</retrieve_mode>
561
+ <request_method>0</request_method>
562
+ <output_format>0</output_format>
563
+ <allow_traps>0</allow_traps>
564
+ <ssl_cert_file/>
565
+ <ssl_key_file/>
566
+ <ssl_key_password/>
567
+ <verify_peer>0</verify_peer>
568
+ <verify_host>0</verify_host>
569
+ <application_prototypes/>
570
+ <master_item/>
571
+ </item_prototype>
572
+ <item_prototype>
573
+ <name>Bytes written per second for pool {#POOL}</name>
574
+ <type>2</type>
575
+ <snmp_community/>
576
+ <snmp_oid/>
577
+ <key>zpool_nwritten[{#POOL}]</key>
578
+ <delay>0</delay>
579
+ <history>90d</history>
580
+ <trends>365d</trends>
581
+ <status>0</status>
582
+ <value_type>0</value_type>
583
+ <allowed_hosts/>
584
+ <units>B/s</units>
585
+ <snmpv3_contextname/>
586
+ <snmpv3_securityname/>
587
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
588
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
589
+ <snmpv3_authpassphrase/>
590
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
591
+ <snmpv3_privpassphrase/>
592
+ <params/>
593
+ <ipmi_sensor/>
594
+ <authtype>0</authtype>
595
+ <username/>
596
+ <password/>
597
+ <publickey/>
598
+ <privatekey/>
599
+ <port/>
600
+ <description/>
601
+ <inventory_link>0</inventory_link>
602
+ <applications>
603
+ <application>
604
+ <name>ZPools</name>
605
+ </application>
606
+ </applications>
607
+ <valuemap/>
608
+ <logtimefmt/>
609
+ <preprocessing>
610
+ <step>
611
+ <type>10</type>
612
+ <params/>
613
+ </step>
614
+ </preprocessing>
615
+ <jmx_endpoint/>
616
+ <timeout>3s</timeout>
617
+ <url/>
618
+ <query_fields/>
619
+ <posts/>
620
+ <status_codes>200</status_codes>
621
+ <follow_redirects>1</follow_redirects>
622
+ <post_type>0</post_type>
623
+ <http_proxy/>
624
+ <headers/>
625
+ <retrieve_mode>0</retrieve_mode>
626
+ <request_method>0</request_method>
627
+ <output_format>0</output_format>
628
+ <allow_traps>0</allow_traps>
629
+ <ssl_cert_file/>
630
+ <ssl_key_file/>
631
+ <ssl_key_password/>
632
+ <verify_peer>0</verify_peer>
633
+ <verify_host>0</verify_host>
634
+ <application_prototypes/>
635
+ <master_item/>
636
+ </item_prototype>
637
+ <item_prototype>
638
+ <name>Run queue count {#POOL}</name>
639
+ <type>2</type>
640
+ <snmp_community/>
641
+ <snmp_oid/>
642
+ <key>zpool_rcnt[{#POOL}]</key>
643
+ <delay>0</delay>
644
+ <history>90d</history>
645
+ <trends>365d</trends>
646
+ <status>0</status>
647
+ <value_type>3</value_type>
648
+ <allowed_hosts/>
649
+ <units>ops</units>
650
+ <snmpv3_contextname/>
651
+ <snmpv3_securityname/>
652
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
653
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
654
+ <snmpv3_authpassphrase/>
655
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
656
+ <snmpv3_privpassphrase/>
657
+ <params/>
658
+ <ipmi_sensor/>
659
+ <authtype>0</authtype>
660
+ <username/>
661
+ <password/>
662
+ <publickey/>
663
+ <privatekey/>
664
+ <port/>
665
+ <description/>
666
+ <inventory_link>0</inventory_link>
667
+ <applications>
668
+ <application>
669
+ <name>ZPools</name>
670
+ </application>
671
+ </applications>
672
+ <valuemap/>
673
+ <logtimefmt/>
674
+ <preprocessing/>
675
+ <jmx_endpoint/>
676
+ <timeout>3s</timeout>
677
+ <url/>
678
+ <query_fields/>
679
+ <posts/>
680
+ <status_codes>200</status_codes>
681
+ <follow_redirects>1</follow_redirects>
682
+ <post_type>0</post_type>
683
+ <http_proxy/>
684
+ <headers/>
685
+ <retrieve_mode>0</retrieve_mode>
686
+ <request_method>0</request_method>
687
+ <output_format>0</output_format>
688
+ <allow_traps>0</allow_traps>
689
+ <ssl_cert_file/>
690
+ <ssl_key_file/>
691
+ <ssl_key_password/>
692
+ <verify_peer>0</verify_peer>
693
+ <verify_host>0</verify_host>
694
+ <application_prototypes/>
695
+ <master_item/>
696
+ </item_prototype>
697
+ <item_prototype>
698
+ <name>Reads per second for pool {#POOL}</name>
699
+ <type>2</type>
700
+ <snmp_community/>
701
+ <snmp_oid/>
702
+ <key>zpool_reads[{#POOL}]</key>
703
+ <delay>0</delay>
704
+ <history>90d</history>
705
+ <trends>365d</trends>
706
+ <status>0</status>
707
+ <value_type>0</value_type>
708
+ <allowed_hosts/>
709
+ <units>reads/s</units>
710
+ <snmpv3_contextname/>
711
+ <snmpv3_securityname/>
712
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
713
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
714
+ <snmpv3_authpassphrase/>
715
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
716
+ <snmpv3_privpassphrase/>
717
+ <params/>
718
+ <ipmi_sensor/>
719
+ <authtype>0</authtype>
720
+ <username/>
721
+ <password/>
722
+ <publickey/>
723
+ <privatekey/>
724
+ <port/>
725
+ <description/>
726
+ <inventory_link>0</inventory_link>
727
+ <applications>
728
+ <application>
729
+ <name>ZPools</name>
730
+ </application>
731
+ </applications>
732
+ <valuemap/>
733
+ <logtimefmt/>
734
+ <preprocessing>
735
+ <step>
736
+ <type>10</type>
737
+ <params/>
738
+ </step>
739
+ </preprocessing>
740
+ <jmx_endpoint/>
741
+ <timeout>3s</timeout>
742
+ <url/>
743
+ <query_fields/>
744
+ <posts/>
745
+ <status_codes>200</status_codes>
746
+ <follow_redirects>1</follow_redirects>
747
+ <post_type>0</post_type>
748
+ <http_proxy/>
749
+ <headers/>
750
+ <retrieve_mode>0</retrieve_mode>
751
+ <request_method>0</request_method>
752
+ <output_format>0</output_format>
753
+ <allow_traps>0</allow_traps>
754
+ <ssl_cert_file/>
755
+ <ssl_key_file/>
756
+ <ssl_key_password/>
757
+ <verify_peer>0</verify_peer>
758
+ <verify_host>0</verify_host>
759
+ <application_prototypes/>
760
+ <master_item/>
761
+ </item_prototype>
762
+ <item_prototype>
763
+ <name>rlentime per second {#POOL}</name>
764
+ <type>2</type>
765
+ <snmp_community/>
766
+ <snmp_oid/>
767
+ <key>zpool_rlentime[{#POOL}]</key>
768
+ <delay>0</delay>
769
+ <history>90d</history>
770
+ <trends>365d</trends>
771
+ <status>0</status>
772
+ <value_type>0</value_type>
773
+ <allowed_hosts/>
774
+ <units>wtime/s</units>
775
+ <snmpv3_contextname/>
776
+ <snmpv3_securityname/>
777
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
778
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
779
+ <snmpv3_authpassphrase/>
780
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
781
+ <snmpv3_privpassphrase/>
782
+ <params/>
783
+ <ipmi_sensor/>
784
+ <authtype>0</authtype>
785
+ <username/>
786
+ <password/>
787
+ <publickey/>
788
+ <privatekey/>
789
+ <port/>
790
+ <description/>
791
+ <inventory_link>0</inventory_link>
792
+ <applications>
793
+ <application>
794
+ <name>ZPools</name>
795
+ </application>
796
+ </applications>
797
+ <valuemap/>
798
+ <logtimefmt/>
799
+ <preprocessing>
800
+ <step>
801
+ <type>10</type>
802
+ <params/>
803
+ </step>
804
+ </preprocessing>
805
+ <jmx_endpoint/>
806
+ <timeout>3s</timeout>
807
+ <url/>
808
+ <query_fields/>
809
+ <posts/>
810
+ <status_codes>200</status_codes>
811
+ <follow_redirects>1</follow_redirects>
812
+ <post_type>0</post_type>
813
+ <http_proxy/>
814
+ <headers/>
815
+ <retrieve_mode>0</retrieve_mode>
816
+ <request_method>0</request_method>
817
+ <output_format>0</output_format>
818
+ <allow_traps>0</allow_traps>
819
+ <ssl_cert_file/>
820
+ <ssl_key_file/>
821
+ <ssl_key_password/>
822
+ <verify_peer>0</verify_peer>
823
+ <verify_host>0</verify_host>
824
+ <application_prototypes/>
825
+ <master_item/>
826
+ </item_prototype>
827
+ <item_prototype>
828
+ <name>rtime per second {#POOL}</name>
829
+ <type>2</type>
830
+ <snmp_community/>
831
+ <snmp_oid/>
832
+ <key>zpool_rtime[{#POOL}]</key>
833
+ <delay>0</delay>
834
+ <history>90d</history>
835
+ <trends>365d</trends>
836
+ <status>0</status>
837
+ <value_type>0</value_type>
838
+ <allowed_hosts/>
839
+ <units>wtime/s</units>
840
+ <snmpv3_contextname/>
841
+ <snmpv3_securityname/>
842
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
843
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
844
+ <snmpv3_authpassphrase/>
845
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
846
+ <snmpv3_privpassphrase/>
847
+ <params/>
848
+ <ipmi_sensor/>
849
+ <authtype>0</authtype>
850
+ <username/>
851
+ <password/>
852
+ <publickey/>
853
+ <privatekey/>
854
+ <port/>
855
+ <description/>
856
+ <inventory_link>0</inventory_link>
857
+ <applications>
858
+ <application>
859
+ <name>ZPools</name>
860
+ </application>
861
+ </applications>
862
+ <valuemap/>
863
+ <logtimefmt/>
864
+ <preprocessing>
865
+ <step>
866
+ <type>10</type>
867
+ <params/>
868
+ </step>
869
+ </preprocessing>
870
+ <jmx_endpoint/>
871
+ <timeout>3s</timeout>
872
+ <url/>
873
+ <query_fields/>
874
+ <posts/>
875
+ <status_codes>200</status_codes>
876
+ <follow_redirects>1</follow_redirects>
877
+ <post_type>0</post_type>
878
+ <http_proxy/>
879
+ <headers/>
880
+ <retrieve_mode>0</retrieve_mode>
881
+ <request_method>0</request_method>
882
+ <output_format>0</output_format>
883
+ <allow_traps>0</allow_traps>
884
+ <ssl_cert_file/>
885
+ <ssl_key_file/>
886
+ <ssl_key_password/>
887
+ <verify_peer>0</verify_peer>
888
+ <verify_host>0</verify_host>
889
+ <application_prototypes/>
890
+ <master_item/>
891
+ </item_prototype>
892
+ <item_prototype>
893
+ <name>rupdate per second {#POOL}</name>
894
+ <type>2</type>
895
+ <snmp_community/>
896
+ <snmp_oid/>
897
+ <key>zpool_rupdate[{#POOL}]</key>
898
+ <delay>0</delay>
899
+ <history>90d</history>
900
+ <trends>365d</trends>
901
+ <status>0</status>
902
+ <value_type>0</value_type>
903
+ <allowed_hosts/>
904
+ <units>wtime/s</units>
905
+ <snmpv3_contextname/>
906
+ <snmpv3_securityname/>
907
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
908
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
909
+ <snmpv3_authpassphrase/>
910
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
911
+ <snmpv3_privpassphrase/>
912
+ <params/>
913
+ <ipmi_sensor/>
914
+ <authtype>0</authtype>
915
+ <username/>
916
+ <password/>
917
+ <publickey/>
918
+ <privatekey/>
919
+ <port/>
920
+ <description/>
921
+ <inventory_link>0</inventory_link>
922
+ <applications>
923
+ <application>
924
+ <name>ZPools</name>
925
+ </application>
926
+ </applications>
927
+ <valuemap/>
928
+ <logtimefmt/>
929
+ <preprocessing>
930
+ <step>
931
+ <type>10</type>
932
+ <params/>
933
+ </step>
934
+ </preprocessing>
935
+ <jmx_endpoint/>
936
+ <timeout>3s</timeout>
937
+ <url/>
938
+ <query_fields/>
939
+ <posts/>
940
+ <status_codes>200</status_codes>
941
+ <follow_redirects>1</follow_redirects>
942
+ <post_type>0</post_type>
943
+ <http_proxy/>
944
+ <headers/>
945
+ <retrieve_mode>0</retrieve_mode>
946
+ <request_method>0</request_method>
947
+ <output_format>0</output_format>
948
+ <allow_traps>0</allow_traps>
949
+ <ssl_cert_file/>
950
+ <ssl_key_file/>
951
+ <ssl_key_password/>
952
+ <verify_peer>0</verify_peer>
953
+ <verify_host>0</verify_host>
954
+ <application_prototypes/>
955
+ <master_item/>
956
+ </item_prototype>
957
+ <item_prototype>
958
+ <name>State of pool {#POOL}</name>
959
+ <type>2</type>
960
+ <snmp_community/>
961
+ <snmp_oid/>
962
+ <key>zpool_state[{#POOL}]</key>
963
+ <delay>0</delay>
964
+ <history>90d</history>
965
+ <trends>0</trends>
966
+ <status>0</status>
967
+ <value_type>1</value_type>
968
+ <allowed_hosts/>
969
+ <units/>
970
+ <snmpv3_contextname/>
971
+ <snmpv3_securityname/>
972
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
973
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
974
+ <snmpv3_authpassphrase/>
975
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
976
+ <snmpv3_privpassphrase/>
977
+ <params/>
978
+ <ipmi_sensor/>
979
+ <authtype>0</authtype>
980
+ <username/>
981
+ <password/>
982
+ <publickey/>
983
+ <privatekey/>
984
+ <port/>
985
+ <description/>
986
+ <inventory_link>0</inventory_link>
987
+ <applications>
988
+ <application>
989
+ <name>ZPools</name>
990
+ </application>
991
+ </applications>
992
+ <valuemap/>
993
+ <logtimefmt/>
994
+ <preprocessing/>
995
+ <jmx_endpoint/>
996
+ <timeout>3s</timeout>
997
+ <url/>
998
+ <query_fields/>
999
+ <posts/>
1000
+ <status_codes>200</status_codes>
1001
+ <follow_redirects>1</follow_redirects>
1002
+ <post_type>0</post_type>
1003
+ <http_proxy/>
1004
+ <headers/>
1005
+ <retrieve_mode>0</retrieve_mode>
1006
+ <request_method>0</request_method>
1007
+ <output_format>0</output_format>
1008
+ <allow_traps>0</allow_traps>
1009
+ <ssl_cert_file/>
1010
+ <ssl_key_file/>
1011
+ <ssl_key_password/>
1012
+ <verify_peer>0</verify_peer>
1013
+ <verify_host>0</verify_host>
1014
+ <application_prototypes/>
1015
+ <master_item/>
1016
+ </item_prototype>
1017
+ <item_prototype>
1018
+ <name>Wait queue count {#POOL}</name>
1019
+ <type>2</type>
1020
+ <snmp_community/>
1021
+ <snmp_oid/>
1022
+ <key>zpool_wcnt[{#POOL}]</key>
1023
+ <delay>0</delay>
1024
+ <history>90d</history>
1025
+ <trends>365d</trends>
1026
+ <status>0</status>
1027
+ <value_type>3</value_type>
1028
+ <allowed_hosts/>
1029
+ <units>ops</units>
1030
+ <snmpv3_contextname/>
1031
+ <snmpv3_securityname/>
1032
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
1033
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
1034
+ <snmpv3_authpassphrase/>
1035
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
1036
+ <snmpv3_privpassphrase/>
1037
+ <params/>
1038
+ <ipmi_sensor/>
1039
+ <authtype>0</authtype>
1040
+ <username/>
1041
+ <password/>
1042
+ <publickey/>
1043
+ <privatekey/>
1044
+ <port/>
1045
+ <description/>
1046
+ <inventory_link>0</inventory_link>
1047
+ <applications>
1048
+ <application>
1049
+ <name>ZPools</name>
1050
+ </application>
1051
+ </applications>
1052
+ <valuemap/>
1053
+ <logtimefmt/>
1054
+ <preprocessing/>
1055
+ <jmx_endpoint/>
1056
+ <timeout>3s</timeout>
1057
+ <url/>
1058
+ <query_fields/>
1059
+ <posts/>
1060
+ <status_codes>200</status_codes>
1061
+ <follow_redirects>1</follow_redirects>
1062
+ <post_type>0</post_type>
1063
+ <http_proxy/>
1064
+ <headers/>
1065
+ <retrieve_mode>0</retrieve_mode>
1066
+ <request_method>0</request_method>
1067
+ <output_format>0</output_format>
1068
+ <allow_traps>0</allow_traps>
1069
+ <ssl_cert_file/>
1070
+ <ssl_key_file/>
1071
+ <ssl_key_password/>
1072
+ <verify_peer>0</verify_peer>
1073
+ <verify_host>0</verify_host>
1074
+ <application_prototypes/>
1075
+ <master_item/>
1076
+ </item_prototype>
1077
+ <item_prototype>
1078
+ <name>wlentime per second {#POOL}</name>
1079
+ <type>2</type>
1080
+ <snmp_community/>
1081
+ <snmp_oid/>
1082
+ <key>zpool_wlentime[{#POOL}]</key>
1083
+ <delay>0</delay>
1084
+ <history>90d</history>
1085
+ <trends>365d</trends>
1086
+ <status>0</status>
1087
+ <value_type>0</value_type>
1088
+ <allowed_hosts/>
1089
+ <units>wtime/s</units>
1090
+ <snmpv3_contextname/>
1091
+ <snmpv3_securityname/>
1092
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
1093
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
1094
+ <snmpv3_authpassphrase/>
1095
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
1096
+ <snmpv3_privpassphrase/>
1097
+ <params/>
1098
+ <ipmi_sensor/>
1099
+ <authtype>0</authtype>
1100
+ <username/>
1101
+ <password/>
1102
+ <publickey/>
1103
+ <privatekey/>
1104
+ <port/>
1105
+ <description/>
1106
+ <inventory_link>0</inventory_link>
1107
+ <applications>
1108
+ <application>
1109
+ <name>ZPools</name>
1110
+ </application>
1111
+ </applications>
1112
+ <valuemap/>
1113
+ <logtimefmt/>
1114
+ <preprocessing>
1115
+ <step>
1116
+ <type>10</type>
1117
+ <params/>
1118
+ </step>
1119
+ </preprocessing>
1120
+ <jmx_endpoint/>
1121
+ <timeout>3s</timeout>
1122
+ <url/>
1123
+ <query_fields/>
1124
+ <posts/>
1125
+ <status_codes>200</status_codes>
1126
+ <follow_redirects>1</follow_redirects>
1127
+ <post_type>0</post_type>
1128
+ <http_proxy/>
1129
+ <headers/>
1130
+ <retrieve_mode>0</retrieve_mode>
1131
+ <request_method>0</request_method>
1132
+ <output_format>0</output_format>
1133
+ <allow_traps>0</allow_traps>
1134
+ <ssl_cert_file/>
1135
+ <ssl_key_file/>
1136
+ <ssl_key_password/>
1137
+ <verify_peer>0</verify_peer>
1138
+ <verify_host>0</verify_host>
1139
+ <application_prototypes/>
1140
+ <master_item/>
1141
+ </item_prototype>
1142
+ <item_prototype>
1143
+ <name>Writes per second for pool {#POOL}</name>
1144
+ <type>2</type>
1145
+ <snmp_community/>
1146
+ <snmp_oid/>
1147
+ <key>zpool_writes[{#POOL}]</key>
1148
+ <delay>0</delay>
1149
+ <history>90d</history>
1150
+ <trends>365d</trends>
1151
+ <status>0</status>
1152
+ <value_type>0</value_type>
1153
+ <allowed_hosts/>
1154
+ <units>writes/s</units>
1155
+ <snmpv3_contextname/>
1156
+ <snmpv3_securityname/>
1157
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
1158
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
1159
+ <snmpv3_authpassphrase/>
1160
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
1161
+ <snmpv3_privpassphrase/>
1162
+ <params/>
1163
+ <ipmi_sensor/>
1164
+ <authtype>0</authtype>
1165
+ <username/>
1166
+ <password/>
1167
+ <publickey/>
1168
+ <privatekey/>
1169
+ <port/>
1170
+ <description/>
1171
+ <inventory_link>0</inventory_link>
1172
+ <applications>
1173
+ <application>
1174
+ <name>ZPools</name>
1175
+ </application>
1176
+ </applications>
1177
+ <valuemap/>
1178
+ <logtimefmt/>
1179
+ <preprocessing>
1180
+ <step>
1181
+ <type>10</type>
1182
+ <params/>
1183
+ </step>
1184
+ </preprocessing>
1185
+ <jmx_endpoint/>
1186
+ <timeout>3s</timeout>
1187
+ <url/>
1188
+ <query_fields/>
1189
+ <posts/>
1190
+ <status_codes>200</status_codes>
1191
+ <follow_redirects>1</follow_redirects>
1192
+ <post_type>0</post_type>
1193
+ <http_proxy/>
1194
+ <headers/>
1195
+ <retrieve_mode>0</retrieve_mode>
1196
+ <request_method>0</request_method>
1197
+ <output_format>0</output_format>
1198
+ <allow_traps>0</allow_traps>
1199
+ <ssl_cert_file/>
1200
+ <ssl_key_file/>
1201
+ <ssl_key_password/>
1202
+ <verify_peer>0</verify_peer>
1203
+ <verify_host>0</verify_host>
1204
+ <application_prototypes/>
1205
+ <master_item/>
1206
+ </item_prototype>
1207
+ <item_prototype>
1208
+ <name>wtime per second {#POOL}</name>
1209
+ <type>2</type>
1210
+ <snmp_community/>
1211
+ <snmp_oid/>
1212
+ <key>zpool_wtime[{#POOL}]</key>
1213
+ <delay>0</delay>
1214
+ <history>90d</history>
1215
+ <trends>365d</trends>
1216
+ <status>0</status>
1217
+ <value_type>0</value_type>
1218
+ <allowed_hosts/>
1219
+ <units>wtime/s</units>
1220
+ <snmpv3_contextname/>
1221
+ <snmpv3_securityname/>
1222
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
1223
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
1224
+ <snmpv3_authpassphrase/>
1225
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
1226
+ <snmpv3_privpassphrase/>
1227
+ <params/>
1228
+ <ipmi_sensor/>
1229
+ <authtype>0</authtype>
1230
+ <username/>
1231
+ <password/>
1232
+ <publickey/>
1233
+ <privatekey/>
1234
+ <port/>
1235
+ <description/>
1236
+ <inventory_link>0</inventory_link>
1237
+ <applications>
1238
+ <application>
1239
+ <name>ZPools</name>
1240
+ </application>
1241
+ </applications>
1242
+ <valuemap/>
1243
+ <logtimefmt/>
1244
+ <preprocessing>
1245
+ <step>
1246
+ <type>10</type>
1247
+ <params/>
1248
+ </step>
1249
+ </preprocessing>
1250
+ <jmx_endpoint/>
1251
+ <timeout>3s</timeout>
1252
+ <url/>
1253
+ <query_fields/>
1254
+ <posts/>
1255
+ <status_codes>200</status_codes>
1256
+ <follow_redirects>1</follow_redirects>
1257
+ <post_type>0</post_type>
1258
+ <http_proxy/>
1259
+ <headers/>
1260
+ <retrieve_mode>0</retrieve_mode>
1261
+ <request_method>0</request_method>
1262
+ <output_format>0</output_format>
1263
+ <allow_traps>0</allow_traps>
1264
+ <ssl_cert_file/>
1265
+ <ssl_key_file/>
1266
+ <ssl_key_password/>
1267
+ <verify_peer>0</verify_peer>
1268
+ <verify_host>0</verify_host>
1269
+ <application_prototypes/>
1270
+ <master_item/>
1271
+ </item_prototype>
1272
+ <item_prototype>
1273
+ <name>wupdate per second {#POOL}</name>
1274
+ <type>2</type>
1275
+ <snmp_community/>
1276
+ <snmp_oid/>
1277
+ <key>zpool_wupdate[{#POOL}]</key>
1278
+ <delay>0</delay>
1279
+ <history>90d</history>
1280
+ <trends>365d</trends>
1281
+ <status>0</status>
1282
+ <value_type>0</value_type>
1283
+ <allowed_hosts/>
1284
+ <units>wtime/s</units>
1285
+ <snmpv3_contextname/>
1286
+ <snmpv3_securityname/>
1287
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
1288
+ <snmpv3_authprotocol>0</snmpv3_authprotocol>
1289
+ <snmpv3_authpassphrase/>
1290
+ <snmpv3_privprotocol>0</snmpv3_privprotocol>
1291
+ <snmpv3_privpassphrase/>
1292
+ <params/>
1293
+ <ipmi_sensor/>
1294
+ <authtype>0</authtype>
1295
+ <username/>
1296
+ <password/>
1297
+ <publickey/>
1298
+ <privatekey/>
1299
+ <port/>
1300
+ <description/>
1301
+ <inventory_link>0</inventory_link>
1302
+ <applications>
1303
+ <application>
1304
+ <name>ZPools</name>
1305
+ </application>
1306
+ </applications>
1307
+ <valuemap/>
1308
+ <logtimefmt/>
1309
+ <preprocessing>
1310
+ <step>
1311
+ <type>10</type>
1312
+ <params/>
1313
+ </step>
1314
+ </preprocessing>
1315
+ <jmx_endpoint/>
1316
+ <timeout>3s</timeout>
1317
+ <url/>
1318
+ <query_fields/>
1319
+ <posts/>
1320
+ <status_codes>200</status_codes>
1321
+ <follow_redirects>1</follow_redirects>
1322
+ <post_type>0</post_type>
1323
+ <http_proxy/>
1324
+ <headers/>
1325
+ <retrieve_mode>0</retrieve_mode>
1326
+ <request_method>0</request_method>
1327
+ <output_format>0</output_format>
1328
+ <allow_traps>0</allow_traps>
1329
+ <ssl_cert_file/>
1330
+ <ssl_key_file/>
1331
+ <ssl_key_password/>
1332
+ <verify_peer>0</verify_peer>
1333
+ <verify_host>0</verify_host>
1334
+ <application_prototypes/>
1335
+ <master_item/>
1336
+ </item_prototype>
1337
+ </item_prototypes>
1338
+ <trigger_prototypes/>
1339
+ <graph_prototypes/>
1340
+ <host_prototypes/>
1341
+ <jmx_endpoint/>
1342
+ <timeout>3s</timeout>
1343
+ <url/>
1344
+ <query_fields/>
1345
+ <posts/>
1346
+ <status_codes>200</status_codes>
1347
+ <follow_redirects>1</follow_redirects>
1348
+ <post_type>0</post_type>
1349
+ <http_proxy/>
1350
+ <headers/>
1351
+ <retrieve_mode>0</retrieve_mode>
1352
+ <request_method>0</request_method>
1353
+ <allow_traps>0</allow_traps>
1354
+ <ssl_cert_file/>
1355
+ <ssl_key_file/>
1356
+ <ssl_key_password/>
1357
+ <verify_peer>0</verify_peer>
1358
+ <verify_host>0</verify_host>
1359
+ </discovery_rule>
1360
+ </discovery_rules>
1361
+ <httptests/>
1362
+ <macros/>
1363
+ <templates/>
1364
+ <screens/>
1365
+ </template>
1366
+ </templates>
1367
+ </zabbix_export>