Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 68685ecdeb
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.32 kb
require 'rubygems'
gem 'gmetric'
require 'gmetric'
result = Ganglia::GMetric.send("172.16.32.130", 8670, {
:hostname => 'ook.unixninjas.org',
:spoof => 0,
:name => 'narf',
:units => 'reqs/sec',
:type => 'uint8',
:value => 7000,
:tmax => 60,
:dmax => 300,
})
puts "Result: #{result.inspect}"
Jump to Line
Something went wrong with that request. Please try again.