similar to: How to monitor Cron jobs?

Displaying 20 results from an estimated 10000 matches similar to: "How to monitor Cron jobs?"

2008 Feb 22
1
Port listening, cron jobs and loading rails environment
Hi, As part of a web application that I am writing I need to have something listening for any packets that are received on a particular port and then process the packets using some of my Rails models, hence I start the script via the ./script/runner command. This script always needs to be running, if it exits for any reason, I need it to start up again very quickly. Hence, I was considering
2008 Mar 13
4
Merb in production with God/Monit
Hey All, I just wanted to get other peoples take on problems when running merb in production? Just as Rails used to do, the mongrels tend to get heavy/unresponsive over time so need a good kicking by a watcher daemon like god or monit. However, I have had serious problems getting God to restart the process, as the "merb -k <port>" command doesnt appear to work reliably
2010 Jun 11
2
Service monitoring/"Monit"?
Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I need to set up some kind of "watchdog" functionality for a custom service otherwise started via init (i.e. via a script in /etc/init.d + rc*.d links managed by chkconfig) and it seems like this system may give me nearly what I want. However, something that concerns me about it, is that it appears to
2006 May 22
1
MVC and cron jobs
I have a cronjob that runs "ruby script/runner ''Channel.preload''". Channel is a parent model, Item is the child model (i.e., Channel has_many :items and Item belongs_to :channel). The coupling is minimized, the coherence looks good, but I''m not sure the model is the right place to put this code. Is there a better place to put this code, e.g., a component (I
2008 Jan 03
23
deployment survey
Hello Mongrels, Building on the last messages about Fastthread, can we get a detailed survey of the different ways people are deploying their applications? It will help with near-future Mongrel development. Please include the following things: * Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...) * Mongrel version * Mongrel handlers used (rails, dirhandler, camping,
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC) I don''t know whether this is a mongrel issue or a monit issue. I''m trying to poke my way around a system set up by someone else. I have no more experience w/ mongrel that local Rails dev at this point, and a conceptual understanding of how monit is working. I have the Deploying Rails beta book, and I''m
2009 Sep 08
1
variables on files
I have this configuration: class monit { # Installing packages. package { "monit": ensure => latest; } file { "/etc/default/monit": owner => "root", group => "root", mode => "0644", source => "puppet:///monit/etc/default/monit", } file { "/etc/monit/monitrc": owner => "root", group =>
2008 Sep 21
3
Monit; BackgroundRB; environment variables
I started emailing monit mailing list because I started getting this problem where I couldn''t start backgroundrb with monit anymore, thinking it was a monit problem. However, I back tracked a bit since I had added code to my project, and monit was able to start backgroundrb again. I seem to have zeroed in on the problem. I''m not sure where the problem lies - maybe monit or
2007 Aug 26
1
monit not executing start/stop/restart mongrels
Alright, I have googles and read through the docs on monit I get this error when adding -v starting monit monit: Cannot connect to the monit daemon. Did you start it with http support? monit: Cannot connect to the monit daemon. Did you start it with http support? Am I missing something here? set daemon 120 set logfile syslog facility log_daemon set mailserver localhost set httpd port 28212
2011 Mar 19
2
httpd cannot serve web page on port 2812 (for Monit)
Might there be anything CentOS related on why I cannot access the Monit GUI system on http://box-running-monit.com:2812 ? I am using a very basic /etc/monit.conf config, but I cannot get it serve the web page on my box The service start and stops fine (e.g. "/etc/init.d/monit start"), and I have it set to listen to port 2812 in the "/etc/monit.conf file" (so far, kept the
2006 May 08
5
Cron Scheduling Problem
Hello, The following cron job is failing to run: 00 16 * * * root ruby /home/nathan/rails/notifications/script/runner -e production Notifier.deliver_summary My understanding from the Rails Wiki is that this should do it. Can anyone shed some light on what I may have setup wrong? Thanks! Nathan Mealey Operations Director Northeast Region Pilgrim IT, LLC NORTHEAST OFFICE 1
2017 Feb 27
2
Which tool to automatically restart Asterisk ?
Sorry , I forget it for another monitoring tool monit that we have used in our production systems to restart asterisk in case of asterisk crash or halt. I have attached a monit configuration for your reference. it will work almost in all cases This configuration will check Asterisk for following 1. will check for Asterisk process. 2. will check Asterisk via AMI 3. will check
2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set ''present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 err:
2008 Apr 26
1
Best cron job method for email notifications?
There are so many ways to do cron jobs in Rails (Backgroundrb, script/ runner, etc.) but I am wondering what would be the best to use in production, just for sending out email/SMS notifications? For example, an email automatically gets sent a day before the due date of a project milestone. Thanks for the help! --~--~---------~--~----~------------~-------~--~----~ You received this message because
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone has already dealt with/created this. I''m running a mongrel cluster, running 4 mongrels on ports 8001-4. I''m using capistrano to deploy. And I''d like to use monit to check to make sure everything is running nice. I''d like to have monit restart only single mongrels if they fail, and
2007 Oct 01
7
Service Availability
I''m still tinkering, moving over code from CFE to Puppet in a test environment. One item I did with CfE was manage services. If something wasn''t running, it was restarted. Puppet''s service integration makes this easy. The flip side, is how do you guarantee Puppet''s running? I pulled some tricks with CfE to ensure it was always running. I made CfE a direct
2007 Nov 07
8
mongrel - monit issue
Hi, was wondering if anyone else had a similar problem and knows why or a solution. basically my mongrels seems to work fine. i am running three clusters all which are monitored by monit. monit has the ability to restart a mongrel if it doesn''t pass a port connection test. so the problem is that after some time. aprox. 6hrs. to 20hrs. after clusters are started, the mongrels get
2008 Dec 24
3
Conditionals allowed within types?
Hello, I''m trying to do this: service { monit: ensure => running, enable => true, hasrestart => true, if ($operatingsystem == ''centos'') { hasstatus => true, }, require => Package[''monit''], subscribe => File[''monit.conf''], } And it doesn''t work in
2006 Aug 12
1
Problem with cron and a rails script
I''m trying to run a rails script using cron and I keep getting the following error: /home/domains/lists.lanfusion.com/script/../config/boot.rb:18:in `require'': no such file to load -- rubygems (LoadError) from /home/domains/lists.lanfusion.com/script/../config/boot.rb:18 from /home/domains/lists.lanfusion.com/script/runner:2 When I run the script from ssh it
2007 Mar 12
1
Mongrel - HUP Signal
With the latest version of Mongrel, will Mongrel reopen log files when sent a HUP signal? I would like to do a log rotate, but would prefer not to restart the mongrel instances as monit is watching after them all. monit is great for restarting the individual instances, but I would prefer not to do a restart all through monit. I would be curious if this is advisable. -- ----- Christopher