sensu-plugins-zfs 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15bc681d790d66bbc7afae490801a3a75e6cc07b
4
- data.tar.gz: f81c01212727845a3b7ee578f86722fe45f01918
3
+ metadata.gz: 31b1145f4ba5bcb1487f1530403c2bb3ab65ecda
4
+ data.tar.gz: 50a9c051e010d6b0d8be2dc6ea00b840747301b8
5
5
  SHA512:
6
- metadata.gz: 7f56f6571570303705201c833500d86b7af9826d6aa0fc04f019346c081bda6fd0c42b3148e64d46f614babdb54d88314e63715daf59948dd4236ffb189d4528
7
- data.tar.gz: 8afeaab356b5c1a8bc7d2576cc737151e9783c069038a6acabef6b9334464b7305c8dc1b3e2c93421455e3c37130b18eee7cf58272f3d0851101f6b0742144db
6
+ metadata.gz: 0802f340495362dc2586cd94e0f494a06c1b99f2ea9cd423418f6e0094c23d7a920cc4324cf3a14c621e48f69c44c9e8bdf4942136f4cae7bcfb3415241cdf77
7
+ data.tar.gz: b40fd5ebf22b28949248d5a4534d40bbef183abd6a1a98e001395f9dd3324f288d4caf8f585c56c88570ddbdbc363a8df7f4072b22686805c5f98959b280857c
@@ -9,9 +9,6 @@ class CheckZPool < Sensu::Plugin::Check::CLI
9
9
  zpools.each do |zp|
10
10
  check_state zp
11
11
  check_vdevs zp
12
- unless zp.ok?
13
- critical "zpool #{zp.name} has state #{zp.state}"
14
- end
15
12
  end
16
13
  ok "all zpools are ok"
17
14
  end
@@ -1,3 +1,3 @@
1
1
  module SensuPluginsZFS
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -4,7 +4,6 @@ module SensuPluginsZFS
4
4
  %x[sudo zpool list -H -o name].lines('').map do |l|
5
5
  ZPool.new(l.strip)
6
6
  end
7
- res
8
7
  end
9
8
  end
10
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-zfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Nørgaard