您如何监视多个网站的可用性

您如何监视多个网站的可用性

问题描述:

我需要确保任何数量的网站和服务都没有被灰尘吞噬.目前,我依靠一个简单的5分钟的cronjob,它使用curl和一个URL文件来检查所有响应是否正确(200个或很少301个).

I need to ensure that any number of websites and services haven't bitten the dust. At the moment I rely on a simple 5 minute cronjob which uses curl and a file of urls to check that all the responses are correct (200 or rarely 301).

这一切都在基本水平上起作用,我对更复杂的开源工具(统计信息,响应时间,漂亮的图表)感兴趣-您使用什么?

It all works on a basic level, I'm interested in more sophisticated open-source tools (statistics, response times, pretty graphs) - what do you use?

以我的经验,nagios运作良好,但有时似乎很难打理.如果您想获得统计数据以及除nagios之外的其他所有功能,请添加仙人掌.如果您希望将其全部打包在一个软件包中,则应查看 OpenNMS .为了获得所有这些的全部好处,您也应该使用SNMP,以便您还可以查看内存,cpu和磁盘使用情况的详细信息.

In my experience nagios works pretty well but seems to be hard to take care of at times. If you want to have stats and everything else on top of what nagios gives you then add cacti. If you want it all in one package you should look into OpenNMS. To get the full benefit of all of these you should be using SNMP too so you can see the details of memory, cpu, disk use as well.