Skip to content
A ruby app to watch your servers.
Ruby HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
public
views
.components
.dockerignore
.gitignore
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
site.rb
sites.yml

README.md

Creepermon

creeper

Creepermon is an app for monitoring websites in a really stupid way. It doesn't do alerting. It just curls your websites and creates graphs.

Architecture

Creepermon takes a yaml file that defines a list. Each item in the list is a url and html xpath. We log each scrape to Keen.io and build a nice dashboard to show you all of your sites.

Each scrape collects:

  • Status code
  • Scrape time
  • Value to xpath target

The value of the xpath target is turned into an integer before storage.

Installation

Clone, change sites.yml, push to heroku.

Set Heroku config:

heroku config:set KEEN_PROJECT_ID=aaaaaaaaaaaaaaaaaaaaaaaa KEEN_READ_KEY=eeeeeeeeeeeeeeeeeeeeeeee KEEN_WRITE_KEY=ffffffffffffffffffffffff
heroku config:set LANG=en_US.UTF-8
heroku config:set RACK_ENV=production

Add the Heroku Scheduler

heroku addons:create scheduler:standard

Then add rake cron to run every ten minutes

sched

You can’t perform that action at this time.