Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ifutant on github.
  • I am ifutant (https://keybase.io/ifutant) on keybase.
  • I have a public key ASBqirXJm-D85WtjJwcIVcVR8MYo1Ig0CLIG2g1kr34s6Ao

To claim this, I am signing this object:

@ifutant
ifutant / hipchat_notify.rb
Created February 5, 2017 00:52 — forked from srinivasmohan/hipchat_notify.rb
Post Nagios alerts to Hipchat
#!/usr/bin/ruby
require 'rubygems'
require 'hipchat-api'
require 'getopt/long'
require 'socket'
require 'erb'
#Do not modify these constants! (after you set these up, of course)
HipApiKey='ABCDEFGHKJHKJHKJHKJH'
Room='Nagios'