This gem is meant to monitor a DJ Work queue. Right now its a work in progress and only works for me. Some config options need to be extracted as of yet (defaults to mine)
Not right now.
This gem requires these gems:
- pony
- sequel
To use this gem, you will need:
- The Ruby language (version 1.8.7 or 1.9.2)
- it need to be run for the rails root of your app
- gem install dj-monitor
After installing the gem, you can set this up as a cron task like this:
*/10 * * * * cd /your/rails/app/path && RAILS_ENV=production /opt/ruby-ent/bin/dj-monitor
Every 10 minutes this script gets run and checks the database for the RAILS_ENV set.
The script will look for a dj-monitor.yml file for some options. Example of this file:
alert_to: “[email protected],[email protected]”
alert_from: “[email protected]”
alert_subject: “OMG! DJ has a problem here!”
This is the only documentation.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- This project is based on delayed_job-monitor from Michael Guterl. Thanks!
If you make improvements to this application, please share with others.
- Make your feature addition or bug fix.
- Make a test for it!
- Commit with Git.
- Send the author message.
If you add functionality to this application, create an alternative implementation, or build an application that is similar, please contact me and I’ll add a note to the README so that others can find your work.
This project is based on delayed_job-monitor from Michael Guterl. Thanks!
None