CloudFoundry 上的 Hyperic 监控出现问题 - 频繁发出警报

发布于 2024-08-25 07:16:40 字数 544 浏览 6 评论 0原文

我正在使用一个 Web 应用程序运行单实例 CloudFoundry 配置。我打开了 Hyperic 监控,并在 Web 应用程序不可用时发出通知。

现在,我随机收到应用程序未运行的警报电子邮件(主题“已触发警报 - 部署 myapp - 上下文不可用”),但它显然运行良好。

在 Apache 的访问日志中,我每 15 秒看到两个请求:

127.0.0.1 - - [17/Mar/2010:15:37:33 +0100] "GET /server-status?auto HTTP/1.1" 200 438 "-" "Jakarta Commons-HttpClient/3.1"
127.0.0.1 - - [17/Mar/2010:15:37:33 +0100] "GET /myapp HTTP/1.1" 200 - "-" "Jakarta Commons-HttpClient/3.1"

当我收到警报电子邮件时,日志中的所有内容似乎仍然正常 - 两个请求。

你知道可能出了什么问题吗?有人遇到过这样的问题并解决了吗?

谢谢, 磷

I'm running single instance CloudFoundry configuration with one web application. I turned on Hyperic monitoring with notification for case of web app unavailability.

Now I randomly receive alert emails (Subject "An alert has been triggered - Deployment myapp - context unavailable") that the application is not running, but it obviously is running fine.

In access log of Apache I see two requests every 15 seconds:

127.0.0.1 - - [17/Mar/2010:15:37:33 +0100] "GET /server-status?auto HTTP/1.1" 200 438 "-" "Jakarta Commons-HttpClient/3.1"
127.0.0.1 - - [17/Mar/2010:15:37:33 +0100] "GET /myapp HTTP/1.1" 200 - "-" "Jakarta Commons-HttpClient/3.1"

At the time when I get the alert emails, everything in log still seems to be fine - two requests.

Do you have idea what could be wrong? Did anybody have this kind of problem and solve it?

Thanks,
P

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

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

发布评论

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

评论(1

三月梨花 2024-09-01 07:16:40

好的,从 CloudFoundry 人员那里获取信息。如果 Apache 或内部 Tomcat 请求出错或超时,则会发送警报。我的问题显然来自未记录在访问日志中的内部 Tomcat 请求。

他们现在只是更改了算法,因此当至少连续两次报告不可用(Apache / Tomcat)时就会触发警报。频繁的警报电子邮件问题消失了。

Ok, got info from CloudFoundry guys. The alerts are sent if either Apache or internal Tomcat request goes wrong or is timeouted. My problem apparently came from internal Tomcat requests that are not logged in access log.

They now simply changed the algorithm, so the alert is trigerred when unavailability (Apache / Tomcat) is reported at least two times in a row. Frequent alert emails problem is gone.

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