sensu-plugins / sensu-plugins-disk-checks

This plugin provides native disk instrumentation for monitoring and metrics collection, including: health, usage, and various metrics.
http://sensu-plugins.io
MIT License
27 stars 63 forks source link

Latest release cannot parse df output on CentOS7 #42

Closed madAndroid closed 8 years ago

madAndroid commented 8 years ago

Hi,

We recently bumped our installed version to 2.0.0 - and then started seeing:

malformed line from df: /dev/xvda1 xfs 33540488 2805928 30734560 9% /

I've not had a chance to further debug this yet, but thought best to create an issue here, in case others run into it as well/

madAndroid commented 8 years ago

This output was from metrics-disk-capacity.rb

mguthmuller commented 8 years ago

The issue exists also on Debian (same error)

cwjohnston commented 8 years ago

@madandroid @mguthmuller thanks for reporting this regression. I will look at this shortly.

madAndroid commented 8 years ago

Excellent! thank you for the very quick turnaround - I'll test this out as soon as 2.0.1 is released

cwjohnston commented 8 years ago

@madAndroid @mguthmuller 2.0.1 which fixes this issue should be on rubygems now.