Created
March 31, 2012 06:18
-
-
Save pshima/2259915 to your computer and use it in GitHub Desktop.
Sensu Redis Metrics Run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis = Redis.new(:host => config[:host], :port =>config[:port]) | |
redis.info.each do |k, v| | |
output "#{config[:scheme]}.#{k}", v | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment