sensu-plugins-windows 0.0.7 → 0.0.8

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: cd1fde1ba94257c9485f54d1b568006b0a157161
4
- data.tar.gz: 63a2f805d5b841b6ff757f8933e0de23fc773556
3
+ metadata.gz: b9c35c1d2ec9eb96920b6f657e5c5858d4455ba3
4
+ data.tar.gz: 5e50085983635b24ae9121c73d4a6cca967ea201
5
5
  SHA512:
6
- metadata.gz: c69f1c0ec3e1eb62dc5cd38145ed07cd930e54b035b6ea6fab8bdbcfdaf1c0809da97c6c4cb60706960cee7a8ece123489bdc20bc5a398178840bd7696abb937
7
- data.tar.gz: 176b2484b84c84bac04294d9d6c767c6bfc4b56bea778c644853efe1e7246348dc7ccfa0cae039f1e4a6e75194b41c6529851f6b3e2342732b7023cad9d326fa
6
+ metadata.gz: 4fa0cb01b291d7dab69d81727f55ecbd02e18d7500fa74309d0a726e9822e868d6448f6485d93200ab7a21131cbb54c35e00cd53ca359d813f75bb450007acad
7
+ data.tar.gz: deab256ab2e2a6df105db3a4506507af76aca95cdd204d55030a698138c958db468e6592dc7038091be56c3d3b31e0eb93ea3688fdf8e00ebc58c32f7394f593
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## [0.0.8] - 2015-12-10
9
+ ## Fixed
10
+ - metrics-windows-disk-usage.rb incorrect variable
11
+
8
12
  ## [0.0.7] - 2015-11-19
9
13
  ### Fixed
10
14
  - metrics-windows-network.rb: remove characters that break graphite metrics
@@ -55,8 +55,8 @@ class DiskUsageMetric < Sensu::Plugin::Metric::CLI::Graphite
55
55
  `wmic logicaldisk get caption, drivetype, freespace, size`.split(/\n+/).each do |line|
56
56
  caption, drivetype, freespace, size = line.split
57
57
  next unless drivetype.to_i == 3
58
- next if config[:ignore_mnt] && config[:ignore_mnt].find { |x| mnt.match(x) }
59
- next if config[:include_mnt] && !config[:include_mnt].find { |x| mnt.match(x) }
58
+ next if config[:ignore_mnt] && config[:ignore_mnt].find { |x| caption.match(x) }
59
+ next if config[:include_mnt] && !config[:include_mnt].find { |x| caption.match(x) }
60
60
 
61
61
  caption = "disk_#{caption[0]}"
62
62
  freespace = freespace.to_f / BYTES_TO_MBYTES
@@ -2,7 +2,7 @@ module SensuPluginsWindows
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 7
5
+ PATCH = 8
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-windows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
@@ -30,7 +30,7 @@ cert_chain:
30
30
  8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
31
  HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
32
  -----END CERTIFICATE-----
33
- date: 2015-11-20 00:00:00.000000000 Z
33
+ date: 2015-12-10 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: sensu-plugin
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- �4�
1
+ ���� �-�_x"�����"�Ɓ�ra�`gP�­1+\]f��f�*xNbC
2
+ �t��9(;�����K0�>1���@�59��#���>L{����H`�O�meT"�S��X�����P�c�<�>���zB�4�iK�"���s��lE�2,