Skip to content

davividal/healthchecker

Repository files navigation

Health Checker

Simple python script to check some rules against a bunch of AWS EC2 instances behind an Amazon ELB.

virtualenvwrapper friendly.

Work in progress.

How to use:

  1. Clone this repo

    $ git clone http://github.com/davividal/healthchecker && cd healthchecker
    
  2. Install its dependencies

    $ pip install -r requirements.txt
    
  3. Add to your sudoers:

    cat <<EOF | sudo tee /etc/sudoers.d/healthchecker
    $USERNAME  ALL=(ALL) NOPASSWD: $PWD/puppet/puppet_wrapper.sh
    EOF
  4. Define your rules at rules.d/your_awesome_rules.yaml

  5. Execute it:

    $ python healthchecker.py [your_awesome_rules]
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published