Use Cacti to Monitor HTTP Status Codes of Request Responses?

Use Cacti to Monitor HTTP Status Codes of Request Responses?

别再吹冷风 发布于 2021-11-26 字数 389 浏览 795 回复 1 原文

I have a proxy script that makes HTTP GET requests to other pages using cURL through PHP.

Is it possible to monitor what response codes are returned to those cURL requests, using Cacti? If not Cacti, possible with any similar monitoring system?

For example, I want a report that shows how many responses came in each status category, ie, with a 200, a 404, 500, etc.

如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。

扫码加入群聊

发布评论

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

评论(1

暖心男生 2022-06-07 1 楼

Sure, you CAN use Cacti to do such things. You can graph just about anything with it. http://docs.cacti.net/manual:087:3a_advanced_topics.1_data_input_methods

It sounds though from your question that you want a monitoring and alerting solution, not just a graphing solution. For monitoring, alerting, and graphing (though the graphs are not nearly as attractive as rrdtool and cacti) I like the opensource Hyperic product(http://www.hyperichq.com). There is also Nagios, BigBrother and a host of other low cost / no cost options.