Skip to content

Instantly share code, notes, and snippets.

Avatar

Dale Harris rodmur

  • Brooklyn, NY
View GitHub Profile
@rodmur
rodmur / check_elb_healthy_hosts.py
Last active Aug 29, 2015 — forked from scoates/check_elb_healthy_hosts.py
Nagios plugin to monitor AWS/EC2 Elastic Load Balancers for healthy hosts
View check_elb_healthy_hosts.py
#!/usr/bin/env python
"""
A nagios plugin for ensuring that load balancers have at least a certain
number of healthy nodes.
Usage:
Nagios Command:
define command {
command_name check_elb_healthy_hosts
View hipchat_notify.rb
#!/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'