English 中文(简体)
Problem with Hyperic monitoring on CloudFoundry - frequent alerts
原标题:

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

最佳回答

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.

问题回答

暂无回答




相关问题
How can I disable javascript errors on "TWebbrowser"?

I am getting javascript errors popping up in some webpages I am browsing to. Does anyone know how to disable javascript error boxes from displaying in a Delphi app using a TWebbrowser? or any other ...

Customize Sharepoint Alerts

Is it possible to customize the e-mail templates of Sharepoint server, in which, i don t have access for files and Central Administration. I m using Sharepoint Designer to connect and edit my site ...

C# Aperiodic Event Generation

i have a list of events "Appointments" in my database, like at 3:00pm etc, and they have irregular intervals like one after 15 mins and next after 30 mins and next after 25 mins. One way is that i run ...

tfs project alerts

the 4 project alerts in TFS are good but I need some more of mine in them. The important one i want is when i create a new bug in TFS i want an email to be sent out. Is there a way i can create a new ...

TFS email notification

When I add a bug (Work Item) in TFS, and assign it to a user, I want an email sent to that user. Also if an existing bug has the "Assigned To" changed, I want that user to get an email. Is it ...

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

热门标签