Skip to content

Instantly share code, notes, and snippets.

@felixfyi
Created January 31, 2013 12:59
Show Gist options
  • Save felixfyi/4682672 to your computer and use it in GitHub Desktop.
Save felixfyi/4682672 to your computer and use it in GitHub Desktop.
nagiosharder icinga
require 'rubygems'
require 'nagiosharder'
site = NagiosHarder::Site.new('https://localhost/icinga/cgi-bin/', 'user', 'pass')
puts site.host_status('myhost')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment