监控使用Amazon EC2的生产服务(Tomcat的,MSQL和Apache) [英] Monitor production services (tomcat, MSQL and apache) using amazon ec2

查看:247
本文介绍了监控使用Amazon EC2的生产服务(Tomcat的,MSQL和Apache)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我有一个服务器 - Amazon EC2实例类型。通过AWS控制台,我们可以监视我们的实例(服务器)CPU利用率,磁盘读取等。

Currently I have a server - Amazon EC2 instance type. Through AWS console, we can monitor our instances (server) CPU utilization, disk read etc..

有没有什么办法,通过它我可以监视我的应用程序服务 - 如Tomcat,MySQL和Apache的等。基本上,只要在 Tomcat或MySQL的停止,我需要从亚马逊电子邮件警报。对于CPU利用率,我能成功地。然而,如何监测,通过AWS我的应用程序服务的状态。

Is there any way through which I can monitor my application services - like tomcat, mysql, apache etc.. Basically, whenever the tomcat or mysql is stopped, I need an email alert from Amazon. For CPU utilization, I was able to that successfully. However, how to monitor my application services state through AWS.

有什么建议吗?如果我们不能做到通过AWS,有没有监控他们的任何其他方式?

Any suggestions please? If we can't able to do through AWS, is there any other way to monitor them?

感谢你。

推荐答案

亚马逊本身只提供基本的平台,在这里,你可以上运行的服务。因此,有来自亚马逊不存在pre-构建的解决方案提供给监控服务。

Amazon itself only provides the basic platform where you can run your services on. Therefore there is no existing pre-built solution from Amazon available to monitor services.

但也有一些替代品来考虑:

However there are some alternatives to consider:

  • You can use Amazon Cloudwatch custom metrics to monitor your services
  • ...or you use monit to watch and (optionally) automatically restart your services
  • ...or you use nagios alerting and/or munin for monitoring

所有这些解决方案将需要安装或编程从你身边。

All of these solutions will require installation or programming from your side.

这篇关于监控使用Amazon EC2的生产服务(Tomcat的,MSQL和Apache)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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