Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Dependencies (like monit)?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
s.ross  
View profile  
 More options Jun 13 2008, 1:42 pm
From: "s.ross" <cwdi...@gmail.com>
Date: Fri, 13 Jun 2008 10:42:58 -0700 (PDT)
Local: Fri, Jun 13 2008 1:42 pm
Subject: Dependencies (like monit)?
I have a Rails app that wants a DRb process to be alive before
starting. Using monit, one can prevent the mongrels from starting
based on the state of another process. Is there some way to monitor an
arbitrary process or processes as a condition of starting a given one.
E.g.:

%w{8000 8001 8002}.each do |port|
  God.watch do |w|
    w.name = "my-mongrel-#{port}"
    w.depends_on "my-drb"                 # <== this is what I'm
trying to accomplish.
    # ...
  end
end

%2{24242}.each do |port| # maybe more ports later
  God.watch do |w|
    w.name = "my-drb"
    # etc.
  end
end

Any thoughts?

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roman Gaufman  
View profile  
 More options Oct 17 2012, 6:10 am
From: Roman Gaufman <hacke...@gmail.com>
Date: Wed, 17 Oct 2012 03:10:09 -0700 (PDT)
Local: Wed, Oct 17 2012 6:10 am
Subject: Re: Dependencies (like monit)?

Did you ever find a solution to this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
captainf  
View profile  
 More options Oct 18 2012, 6:34 am
From: captainf <capta...@dds.nl>
Date: Thu, 18 Oct 2012 03:34:03 -0700 (PDT)
Local: Thurs, Oct 18 2012 6:34 am
Subject: Re: Dependencies (like monit)?

I tried to put a dependency system into god
https://github.com/Ferengee/god-extensions/blob/master/etc/god/extens...

Older versions of god had a dependency_graph.rb which is now also included
in the repository

This patch adds an extra state for the watches that wait on a not yet up
beeing dependency


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »