上帝与蒙尼特 [英] God vs. Monit

查看:78
本文介绍了上帝与蒙尼特的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪个用于过程监视?为什么?

Which one to use for process monitoring and why?

推荐答案

两种解决方案都不错,并且两者都有优点和缺点.

Both solutions are good, and there are some pros and cons for both of them.

上帝的配置文件是用Ruby编写的,因此您基本上可以完成Ruby允许您做的所有事情,而且很多工作. Monit必须使用其自己的语法进行配置,通常可以,但限制更大.无论如何,您还可以使用Ruby生成monit配置(作为部署策略的一部分).

God config file is written in Ruby, so you can do basically everything Ruby allows you to do, and it's a lot of stuff. Monit has to be configured using its own syntax, it's usually OK but more restrictive. Anyway, you can also generate monit config with Ruby (as a part of your deployment strategy).

此外,monit使用的资源较少,因此,如果您使用的是VPS或没有任何备用内存,monit可能是一个更好的选择.就个人而言,我更喜欢上帝,因为它更易于配置.

Also, monit uses less resources, so if you're on VPS or just don't have any spare memory, monit could be a better choice. Personally, I prefer god, as it's more configurable.

这是一个非常好的关于上帝的截屏视频.在此截屏视频的评论中也有很多反馈.

Here's a very good screencast on god. There's also a lot of feedback in comments to this screencast.

这篇关于上帝与蒙尼特的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆