使用monit监控工具设置Delayed_job
我正在部署 Rubyonrails Web 应用程序,其中包含 ruby 1.9.2p280、rubyonrails 3.07,其中包含 apache乘客和delayed_job作为后台作业。
我想监控我的乘客以及delayed_job后台作业。
我找不到任何分步指南。
非常感谢你
I am deploying Rubyonrails web app with ruby 1.9.2p280, rubyonrails 3.07 with apache passenger and delayed_job as background job.
I would like to monitor my passenger as well as delayed_job background job.
I could not find any step by step guide.
Thanks you very much
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如下所述添加以下 .monitrc 文件并运行命令
monit reload
加载配置。/etc/monit/web.monitrc
/etc/monit/delayed_job.monitrc
/usr/bin/delayed_job_start
Add the following .monitrc files as mention below and run the command
monit reload
to load the configuration./etc/monit/web.monitrc
/etc/monit/delayed_job.monitrc
/usr/bin/delayed_job_start