# HeartBeat **Repository Path**: java2demo/HeartBeat ## Basic Information - **Project Name**: HeartBeat - **Description**: 心跳检测应用服务器(如Tomcat,Jetty)的JAVA WEB应用程序 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 555 - **Created**: 2015-04-25 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #HeartBeat
心跳检测各类应用服务器(如Tomcat,Jetty),WEB服务器(如 Apache,Nginx) 的JAVA WEB应用程序.
如何实现?
使用HttpClient对指定的服务器(application-instance) URL 按频率(10秒,20秒...) 发起请求并记录响应的信息(连接耗时,是否连接成功,是否有异常,响应数据包大小),
若检测到不正常(响应码不是200,抛出异常...)时则发送邮件给指定的地址,当检测恢复正常时也发送提醒邮件.
将来会添加更多的实时提醒方式接口,如微信,短信
2014-10-17 ---- Initial project
2015-02-13 ---- Move development to coding.net
2015-03-01 ---- Back to OSC and update documents; Add 0.1 branch
2015-03-14 ---- Monitoring log add response data size;Add list of monitoring reminder logs; Update page styles; Add 0.2 branch
2015-03-15 ---- 0.3 branch is developing
2015-04-02 ---- Add 0.3 branch and publish it
2015-04-06 ---- 0.4 branch is developing
Monitoring
Instance - Monitoring details
Instance - Overview
Instance - Create
Monitoring-Log
Monitoring-Reminder-Log
Search