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 at 
> http://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