Hey Perry,

I've seen no examples of remote server service restarting etc in the
examples on  http://god.rubyforge.org/

I've tried

%w{192.168.0.1:80}.each do |port|
  God.watch do |w|

for example but it just monitors localhost:80 and not the remote
server located at 192.168.0.1. I can understand why as it has no
access over ssh etc to monitor the services status as it would
normally do locally.

Any other ideas?


On Jun 23, 4:30 pm, Perry Smith <[email protected]> wrote:
> Yes.  The config file is just ruby code so you can do what you are asking.  
> The example on the home page:http://god.rubyforge.org/shows this construct.
>
> On Jun 23, 2011, at 8:48 AM, @bkenny wrote:
>
>
>
>
>
>
>
> > Is it possible with God to monitor multiple servers from one main
> > alert server?
>
> > For example my config file contains:
>
> > %w{80}.each do |port|
> >  God.watch do |w|
>
> > Can it contain something like:
>
> > %w{192.168.0.1:80}.each do |port|
> >  God.watch do |w|
>
> > I can then create a XML document with the list of servers to monitor.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "god.rb" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/god-rb?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en.

Reply via email to