riemann-babbler 2.5.5 → 2.5.6

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: 90e56de248d738dad01c1b11d060ba3a245cd59a
4
- data.tar.gz: c6b4be229437856a110fea11ac1c344c7b985cb9
3
+ metadata.gz: 8e4db6d95df27937c8365153f77b9ee1321fe73b
4
+ data.tar.gz: 9fd3f4b107ae62e7771ae4cb260defdda3e656f9
5
5
  SHA512:
6
- metadata.gz: d7da5a831710d13b4fda243fa804532bc53cb3dfe471eb31b99734b653bc1777bb75174ab021a603351d8fc2827877263cdc2b347318b89a164e674d236fc22f
7
- data.tar.gz: b3a1f2159b23e51817e55eeb95457020fdf910e28ce0b7e88621fe1e5adea094343e2af312291f4e57d2ace00442d35d85f4a5135ba3c4f2b4f428b0f1952329
6
+ metadata.gz: c7d5d52deb805e4f54444d740cb036f14633f6cd415ee9b28afe372cb127e6140313987410964cf8f0db328f56801acf2a4875521961310f2f7a0c150404e6bd
7
+ data.tar.gz: e056627804734fdb45f6f240818a9cc524e7a299c66e771e14bb7ae2750dc371a92a94184726e953af323aa5433c5cb07b95ed526151757fb85060249c2bd642
@@ -67,7 +67,7 @@ class Riemann::Babbler::Plugin::Disk < Riemann::Babbler::Plugin
67
67
  disk << { :service => plugin.service + " #{human_point} abs total", :description => "Disk space #{point}, B", :metric => point_stat.blocks * point_stat.block_size, :state => 'ok' }
68
68
  end
69
69
  get_monit_points_for_fstab.each do |point|
70
- disk << { :service => plugin.service + " #{point} fstab entry", :description => "Mount point #{point} not matched in /etc/fstab", :state => 'critical' } unless fstab.match("#{point} ")
70
+ disk << { :service => plugin.service + " #{point} fstab entry", :description => "Mount point #{point} not matched in /etc/fstab", :state => 'critical' } unless fstab.match(/#{point}\s/)
71
71
  end
72
72
  disk
73
73
  end
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  module Babbler
3
- VERSION = '2.5.5'
3
+ VERSION = '2.5.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.5
4
+ version: 2.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasiliev Dmitry