Created
March 22, 2010 23:41
-
-
Save paukul/340674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# an extract from the deploy.rb with duty_free configured monit watches | |
duty_free_plugin.configure do |monit| | |
monit.role :log_aggregator, :monit_template => 'general_deamon' do |r| | |
r.watch :amqp_log_aggregator | |
end | |
monit.role :amqp_broker do |r| | |
r.watch :rabbitmq_server | |
end | |
monit.role :amqp_worker, :monit_template => 'amqp_worker_daemon', :count => 4 do |r| | |
r.watch :amqp_worker_x, :only => :production | |
r.watch :amqp_worker_y, :only => [:production, :jobs_qa] | |
r.watch :amqp_worker_z, :unless => :production | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment