bin/disk-metrics.rb in sensu-plugins-disk-checks-0.0.1.alpha.4 vs bin/disk-metrics.rb in sensu-plugins-disk-checks-0.0.1

- old
+ new

@@ -48,10 +48,10 @@ short: '-c', long: '--convert', default: false # Main function - def run + def run # rubocop:disable all # http://www.kernel.org/doc/Documentation/iostats.txt metrics = %w(reads readsMerged sectorsRead readTime writes writesMerged sectorsWritten writeTime ioInProgress ioTime ioTimeWeighted) File.open('/proc/diskstats', 'r').each_line do |line| stats = line.strip.split(/\s+/)