sensu-plugins-zfs 1.1.0 → 1.1.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: 7c3a3744fcbbe19ac49cf6e968082a6b6f1aa392
4
- data.tar.gz: 11e6ac61a97cd02a890c980d4fb52fdf8ad2223e
3
+ metadata.gz: 410f4afebc46d4d9b8b7ad6a24331d497246200d
4
+ data.tar.gz: 2f3c32f1ee94ee9a50381f746facb2c3d2edd54b
5
5
  SHA512:
6
- metadata.gz: ba3d899bfe554cdf8c1e0633b85618b98d7b18a21352f2d8f149e5a8d300450c4429769d0b278f1bc7862bdb2170231beb1aa175b53b9a3fb9b3a61e1fce830c
7
- data.tar.gz: c8552e5482f078fd8071237bc953c640714edf9d0da8c481d7fb114f635454fc5c90362d9af38870c867819923367dac0fbde48fb1fc25479d5be6f75398e2b5
6
+ metadata.gz: 456cfb0b6dd56e8bf13a8aecb2f93fb978f22e7c74c9e40fa522c9a00fd8be7cedc3b809dce9f02581c3cb0152af2e2dd6e20e6b6a0c57d9db7a7900848f6a2a
7
+ data.tar.gz: 869413be2003390d911e95436c11d7a7040725ebb60c2d89604b471e0ea92c53ac5e22e50ada2a361200d03e4f16907c23fb455aece1ff8ecf7c683211a31828
@@ -57,9 +57,9 @@ class CheckZPool < Sensu::Plugin::Check::CLI
57
57
 
58
58
  def check_capacity(zp)
59
59
  if zp.capacity > config[:cap_crit]
60
- critical "capacity for zpool #{zp.name} is above #{config[:cap_crit}% (currently #{zp.capacity}%)"
61
- elsif zp.capacity > config[:warn_crit]
62
- warning "capacity for zpool #{zp.name} is above #{config[:cap_warn}% (currently #{zp.capacity}%)"
60
+ critical "capacity for zpool #{zp.name} is above #{config[:cap_crit]}% (currently #{zp.capacity}%)"
61
+ elsif zp.capacity > config[:cap_crit]
62
+ warning "capacity for zpool #{zp.name} is above #{config[:cap_warn]}% (currently #{zp.capacity}%)"
63
63
  end
64
64
  end
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module SensuPluginsZFS
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  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: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Nørgaard