sensu-plugins-zfs 0.2.1 → 0.2.2

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: 8a62d800a0a7f7693b74c97b32efee59200fd796
4
- data.tar.gz: 98140f27d0b7eb482790aaf43340af6c15120139
3
+ metadata.gz: 53e49f4d8ed9518608e5f0777127b65f882c337b
4
+ data.tar.gz: d3cb7415a9e93656e679d9a021571a224813d8c4
5
5
  SHA512:
6
- metadata.gz: 586f510d1d5e32bc0d6ff35eca56746ebb817d2f1684814b8cd2491db4d061d1f2dc71e6dd7b338579eadaccefdcd4ae3caefbc91ae526f3264dc35fd11cd42a
7
- data.tar.gz: c86fce482e28291c441c128fd6961646affdc09f06df57c911234cea615b4e89588ea23dd120335b9c1b2e8bff7bd2a6b71fe4f3808c306d102645488178e2d1
6
+ metadata.gz: e058ff43358de8d1007e6f1dfafb68467401ad21afdcb05a74e8266f69a88f45aa604c6f24a3adee412a2b5cf3ea2caddc18f65e843da448b0a273457449e230
7
+ data.tar.gz: 63b8e4f3894b96d2a7a284c3b20c2f95e6a4c0fcacfa854555fadbfe2bc4ab0d3eb6c373b22c60c5b3773bd2d4d125ab46a56b434d7c9b7de6e800040cf8714c
@@ -1,3 +1,3 @@
1
1
  module SensuPluginsZFS
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module SensuPluginsZFS
2
2
  class ZPool
3
3
  def state
4
- %x[zpool status | grep '^ state: ' | cut -d ' ' -f 3].strip
4
+ %x[sudo zpool status | grep '^ state: ' | cut -d ' ' -f 3].strip
5
5
  end
6
6
  end
7
7
  end
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Nørgaard