Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created June 16, 2015 22:17
Show Gist options
  • Save anonymous/246cebcc809f0ff43d34 to your computer and use it in GitHub Desktop.
Save anonymous/246cebcc809f0ff43d34 to your computer and use it in GitHub Desktop.
#! /usr/bin/env ruby
require 'rubygems' if RUBY_VERSION < '1.9.0'
require 'sensu-plugin/metric/cli'
class Fio < Sensu::Plugin::Metric::CLI::Graphite
def run
ok "test", 42
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment