您使用什么工具来监控Web服务?

时间:2022-09-02 09:01:35

From basic things likes page views per second to more advanced stuff like cpu or memory usage. Any ideas?

从基本的东西,如每秒页面浏览量到更高级的东西,如CPU或内存使用。有任何想法吗?

6 个解决方案

#1


1  

I think someone has asked the same type of question before here? Though I'm not too sure how helpful it is.

我觉得之前有人问过同样的问题吗?虽然我不太确定它有多大帮助。

For CPU usage, etc, I would try RRDTool, or maybe something like Cacti.

对于CPU使用情况等,我会尝试RRDTool,或者像Cacti这样的东西。

#2


1  

Web service or web site? Since you mention page views: I believe you mean web site.

网络服务或网站?既然你提到了网页浏览量:我相信你的意思是网站。

Google Analytics will probably give you everything you need to track usage statistics and best of all is free under most circumstances.

Google Analytics(分析)可能会为您提供跟踪使用情况统计信息所需的一切,在大多数情况下,最重要的是免费。

You might also want to monitor site up-time and have something to send email alerts if the site is down for some reason. We've used Nagios in the past and it works just fine.

您可能还希望监控网站正常运行时间,如果网站由于某种原因导致网站停机,则可以发送电子邮件警报。我们过去使用过Nagios,它运行得很好。

#3


0  

I've been using monit (http://www.tildeslash.com/monit/) for years. It monitors CPU and memory usage as well as downtime for apache/mysql/etc... you can also configure it to notify you of outages and automatically restart services in real time.

多年来我一直在使用monit(http://www.tildeslash.com/monit/)。它监视CPU和内存使用情况以及apache / mysql / etc的停机时间......您还可以将其配置为通知您中断并实时自动重启服务。

I also use munin for reporting: http://munin.projects.linpro.no/

我还使用munin报告:http://munin.projects.linpro.no/

If you want reports on pageviews and whatnot, AWStats is the best I've used.

如果你想要关于浏览量和诸如此类的报告,AWStats是我用过的最好的。

#4


0  

I use Nagios for general machine monitoring on Linux and I pretty much rely on Google Analytics for website reporting - I know that's not for everyone since some folks have privacy concerns about giving all their site data to Google.

我使用Nagios进行Linux上的通用机器监控,我非常依赖Google Analytics进行网站报告 - 我知道这并不是每个人都知道的,因为有些人担心将所有网站数据提供给Google。

Both are free and easy to install (Nagios is generally available through apt-get and Analytics is a pretty easy install on a site).

两者都是免费且易于安装的(Nagios通常通过apt-get提供,而Analytics是一个非常容易安装的网站)。

Nagios, however, can be a bear to configure.

然而,Nagios可以成为配置的熊。

#5


0  

I cast my vote for monit as well. The nice thing about is that it understands apache-status info and can notify/take actions when say 80% of max num of apache workers are in "busy" state.

我也投了monit投票。好消息是它理解apache-status信息,并且当80%的最大数量的apache worker处于“忙”状态时可以通知/采取行动。

but you need something else for hardware and general monitoring, something SNMP-aware, like zennos or zabbix

但是你需要其他东西用于硬件和一般监控,这是一种SNMP感知的东西,比如zennos或zabbix

#6


0  

Munin and Cacti provide very nice interfaces and pre-built scripts for rrdtool. They can also monitor multiple servers and send out warnings and alerts through naigos.

Munin和Cacti为rrdtool提供了非常好的接口和预构建的脚本。他们还可以监控多个服务器,并通过naigos发出警告和警报。

#1


1  

I think someone has asked the same type of question before here? Though I'm not too sure how helpful it is.

我觉得之前有人问过同样的问题吗?虽然我不太确定它有多大帮助。

For CPU usage, etc, I would try RRDTool, or maybe something like Cacti.

对于CPU使用情况等,我会尝试RRDTool,或者像Cacti这样的东西。

#2


1  

Web service or web site? Since you mention page views: I believe you mean web site.

网络服务或网站?既然你提到了网页浏览量:我相信你的意思是网站。

Google Analytics will probably give you everything you need to track usage statistics and best of all is free under most circumstances.

Google Analytics(分析)可能会为您提供跟踪使用情况统计信息所需的一切,在大多数情况下,最重要的是免费。

You might also want to monitor site up-time and have something to send email alerts if the site is down for some reason. We've used Nagios in the past and it works just fine.

您可能还希望监控网站正常运行时间,如果网站由于某种原因导致网站停机,则可以发送电子邮件警报。我们过去使用过Nagios,它运行得很好。

#3


0  

I've been using monit (http://www.tildeslash.com/monit/) for years. It monitors CPU and memory usage as well as downtime for apache/mysql/etc... you can also configure it to notify you of outages and automatically restart services in real time.

多年来我一直在使用monit(http://www.tildeslash.com/monit/)。它监视CPU和内存使用情况以及apache / mysql / etc的停机时间......您还可以将其配置为通知您中断并实时自动重启服务。

I also use munin for reporting: http://munin.projects.linpro.no/

我还使用munin报告:http://munin.projects.linpro.no/

If you want reports on pageviews and whatnot, AWStats is the best I've used.

如果你想要关于浏览量和诸如此类的报告,AWStats是我用过的最好的。

#4


0  

I use Nagios for general machine monitoring on Linux and I pretty much rely on Google Analytics for website reporting - I know that's not for everyone since some folks have privacy concerns about giving all their site data to Google.

我使用Nagios进行Linux上的通用机器监控,我非常依赖Google Analytics进行网站报告 - 我知道这并不是每个人都知道的,因为有些人担心将所有网站数据提供给Google。

Both are free and easy to install (Nagios is generally available through apt-get and Analytics is a pretty easy install on a site).

两者都是免费且易于安装的(Nagios通常通过apt-get提供,而Analytics是一个非常容易安装的网站)。

Nagios, however, can be a bear to configure.

然而,Nagios可以成为配置的熊。

#5


0  

I cast my vote for monit as well. The nice thing about is that it understands apache-status info and can notify/take actions when say 80% of max num of apache workers are in "busy" state.

我也投了monit投票。好消息是它理解apache-status信息,并且当80%的最大数量的apache worker处于“忙”状态时可以通知/采取行动。

but you need something else for hardware and general monitoring, something SNMP-aware, like zennos or zabbix

但是你需要其他东西用于硬件和一般监控,这是一种SNMP感知的东西,比如zennos或zabbix

#6


0  

Munin and Cacti provide very nice interfaces and pre-built scripts for rrdtool. They can also monitor multiple servers and send out warnings and alerts through naigos.

Munin和Cacti为rrdtool提供了非常好的接口和预构建的脚本。他们还可以监控多个服务器,并通过naigos发出警告和警报。