⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (331 Bytes)
Bug #5811
» test.rb
netshade (Chris Zelenak)
, 12/27/2011 03:42 AM
#!/usr/bin/env ruby
require
'rubygems'
require
'bundler'
Bundler
.
require
(
:default
)
options
=
{}
#options[:collector] = 'localhost:8000'
Instrumental
::
Agent
.
logger
=
Logger
.
new
(
STDOUT
)
`hostname`
I
=
Instrumental
::
Agent
.
new
(
'b6dce7700edae556c08a1a5b25ed2425'
,
options
)
puts
"Top output got"
host
=
`hostname`
puts
"Host is
#{
host
}
"
« Previous
1
2
Next »
(1-1/2)
Loading...