如何监控链接状态?

发布于 2024-08-07 05:13:55 字数 193 浏览 2 评论 0原文

我们有超过 10,000 个由客户添加的网站链接。任何人都可以推荐一种方法来监视这些链接的状态,以便我可以跟踪它们是否在线。我运行每日脚本会更好吗?或者还有其他方法可以做到这一点吗?

我正在寻找一种解决方案,当这些链接中的任何一个出现故障时,该解决方案都会向我发出警报,并且最好在我们链接到的网站出现故障时更新数据库。

我们使用经典的 ASP。

We have over 10,000 links to websites added by clients. Can anyone recommend an approach to monitor the status of these links so I can keep track of if they are online. Would I be better off running a daily script? Or is there another way to do this?

I would be looking for a solution that would alert me when any of these links were down, and ideally update the database if the site we were linking out to was down.

We are using classic ASP.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

喜爱纠缠 2024-08-14 05:13:55

我认为每天(甚至每小时)的脚本在每个站点上执行 http head 请求,并在返回不是 200 OK 时对其进行标记,这将是最好的方法。您甚至可以将其作为服务器上的后台进程,每当查看该链接时就会触发该进程。

I think a daily (or even hourly) script that does an http head request on each site, and flags them if the return is not 200 OK would be the best way to do it. You could even have it be a background process on the server that fires whenever that link is viewed.

奈何桥上唱咆哮 2024-08-14 05:13:55

您可以使用 http://aremysitesup.com/ 等专用服务,该服务监控网站并通过电子邮件通知停机情况/短信和其他媒体。检查他们的网站以获取更多信息。

You could use dedicated service like http://aremysitesup.com/, which monitors web sites and notifies about downtime via email/sms and other media. Check their site for more info.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文