I'm not familiar with ruby.
When I run check-mysql-disk.rb, I found this error.
"CheckMysqlDisk CRITICAL: comparison of Float with String failed"
$ check-mysql-disk.rb -h 127.0.0.1 -i /etc/sensu/conf.d/mysql.cnf --size 1000
CheckMysqlDisk CRITICAL: comparison of Float with String failed
If I add "to_f" to disk_size, critical_usage, warning_usage, it works well.
Is this the right way? If then, I will make a pull request.
$ diff check-mysql-disk.rb test-check-mysql-disk.rb
88,90c88,90
< disk_size = config[:size]
< critical_usage = config[:crit]
< warning_usage = config[:warn]
---
> disk_size = config[:size].to_f
> critical_usage = config[:crit].to_f
> warning_usage = config[:warn].to_f