A small Padrino web app, built to have the same functionality as Dead Man's Snitch but to add the ability to have multiple nodes using the same snitch.
Their system is WAY nicer and much, more polished than this - but I don't want to have a snitch / node / cronjob. I want to have a snitch / cronjob and then show each node's status.
Heroku w/Postgres
Redis
Fork and clone this repo - then:
heroku create
heroku addons:add redistogo
git push heroku master
heroku run rake dm:migrate
heroku run rake seed
heroku addons:add sendgrid:starter
heroku config:set EMAIL_FROM="[email protected]"
heroku addons:add newrelic:standard
heroku config:add RACK_ENV=production
heroku config:add SERVICENARC_DOMAIN_NAME="put.your.domain.name.here"
heroku config:add SERVICENARC_SENDMAIL_TZ="MST"
heroku config:add SERVICENARC_SENDMAIL_TIME="7:45"
padrino rake secret
heroku config:add SESSION_SECRET="output-of-previous-command"
heroku open
- Browse to /admin/ - enter the username and password you entered during the seed stage.
- Create your first "Service"
- Browse to /admin/services/show/1 - look at the curl command at the bottom of the page.
- Use that curl command on all of your servers with a unique node name for each.
All logged in issues.
Patches are welcome - send a pull request and I'll gladly look at it.