I'm setting up a cluster of servers for the company I work at, and I'm using Monit to monitor that all server processes are running and working as they should.
For Apache monitoring, I wanna use the mod_status feature which is explained here. However, this has turned out quite difficult. As no matter how I configure both Monit and Apach...
Which one to use for process monitoring and why?
...
Are there any examples on the web of how to monitor delayed_job with Monit?
Everything I can find uses God, but I refuse to use God since long running processes in Ruby generally suck. (The most current post in the God mailing list? God Memory Usage Grows Steadily.)
Update: delayed_job now comes with a sample monit config based on thi...
Is there any way to tell Monit to send XMPP notifications as well as emails on alerts?
...
Hello there. We have a rails app running on passenger and we background process some tasks using a combination of RabbitMQ and Workling. The workling's worker process is started using the script/workling_client command. There is always only one worker process started, and the script/workling_client has a :multiple => false options, thus ...
So I've had Delayed::Job running swimmingly in production for a while.
Whenever i'd make a change to a job I would (all in the production env mind you)
restart delayed job using the [script](http://wiki.github.com/tobi/delayed_job/running-delayedworker-as-a-daemon) i used clear the jobs using `rake jobs:clear`
Also, i have monit runn...
In the monit documentation I can see there is a check directory command but I can't see any examples of how to use it to see if the directory exists and if it doesn't to create the directory using the mkdir command.
...
if my delayed_job server broke than monit will automatically restart the delayed_job server again or not?
...
I have done all this modification to setup monit and delayed_job.
I have create one file delayed_job.monitrc in my app/current/config.
delayed_job.monitrc
check process delayed_job
with pidfile /home/sysadmin/app/current/shared/pids/delayed_job.pid
start program = "/usr/bin/env RAILS_ENV=production /home/sysadmin/app/current/scrip...
I find debugging monit to be a major pain. Monit's shell environment basically has nothing in it (no paths or other environment variables). Also, there is no log file that I can find.
The problem is, if the start or stop command in the monit script fails, it is difficult to discern what is wrong with it. Often times it is not as simple ...
I have an app that works perfectly on my local machine and am deploying it now. I have the VPS all set up and it pretty much works, as well. My problem comes from not being able to start delayed_job. I do the "ruby script/delayed_job start RAILS_ENV=production" while SSHd to the app and it returns "delayed_job: process with pid 11547 sta...
Hi,
We have few sites on a Unix server that we monitor using monit. All sites are monitored correctly except for 2 that require http-basic-auth.
I have passed the credentials in the URL like below as suggested by the monit 4.8.1 documentation:
check host aHost with address anIPAddress
if failed url http://username:password@anIPAdd...
Does anyone have any suggestions of how I might go about achieving a rolling restart of a process group using monit?
Thanks in advance,
fturtle
...