bin/metrics-ceph.rb in sensu-plugins-ceph-1.0.1 vs bin/metrics-ceph.rb in sensu-plugins-ceph-1.0.2

- old
+ new

@@ -103,10 +103,10 @@ output end def run result = run_cmd('ceph status --format=json') - data = JSON.parse(result) + data = ::JSON.parse(result) ignore_keys = %w(pgs_by_state version) timestamp = Time.now.to_i data['pgmap'].each do |key, val| output "#{config[:prefix]}.#{key}", val, timestamp unless ignore_keys.include? key end