modified sensu-metrics.rb