简体   繁体   English

旧版 web 应用程序(非 spring 启动应用程序)中的运行状况检查 [暂停]

[英]Health check in legacy web application (non spring boot application) [on hold]

  • I wanted to implement a good health check for an old legacy project ( web mvc, running on external tomcat server - no spring boot ).我想对旧的遗留项目( web mvc,在外部 tomcat 服务器上运行 - 没有 spring 引导)实施良好的健康检查。
  • Is it possible to have health check functionality without converting my project to spring boot as specified on blog: https://dzone.com/articles/magic-with-spring-boot-actuator .是否可以在不将我的项目转换为 spring 引导的情况下使用运行状况检查功能,如博客中所述: https://dzone.com/articles/magic-with-spring-boot-actuator

Any hints will be much appreciated.任何提示将不胜感激。 Thanks谢谢

What I use to monitor legacy web application and have a health check without modifying the app are a set of tools, like java melody and psi probe, java melody is a library that you have to add to the app and configured in the web.xml file https://github.com/javamelody/javamelody/wiki , psi probe is a war that is depployed on the application container like tomcat https://github.com/psi-probe/psi-probe . What I use to monitor legacy web application and have a health check without modifying the app are a set of tools, like java melody and psi probe, java melody is a library that you have to add to the app and configured in the web.xml文件https://github.com/javamelody/javamelody/wiki ,psi 探针是部署在应用程序容器上的战争,例如 tomcat Z5E056C500A1C4B6A7110B50D807BADE /psi-Zprobe5/psi-probe.com For alerts and automated real time check I use nagios or zabbix https://www.zabbix.com https://www.nagios.com/products/nagios-core/ both are capable to send requests to the web server and parse the result and send alerts by email. For alerts and automated real time check I use nagios or zabbix https://www.zabbix.com https://www.nagios.com/products/nagios-core/ both are capable to send requests to the web server and parse the结果并通过 email 发送警报。 You can also enable jmx on tomcat to monitor the tomcat itself, like Heap Memory, Threads, CPU Usage, Classes, etc ( https://geekflare.com/enable-jmx-tomcat-to-monitor-administer/ ), and ask for those values from zabbix. You can also enable jmx on tomcat to monitor the tomcat itself, like Heap Memory, Threads, CPU Usage, Classes, etc ( https://geekflare.com/enable-jmx-tomcat-to-monitor-administer/ ), and ask对于来自 zabbix 的那些值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Docker服务运行状况检查不适用于Spring Boot应用程序 - Docker service health check is not working for spring boot application 如何在 spring boot 应用程序中检查嵌入式 tomcat 的健康状况? - How to check the health of embedded tomcat in spring boot application? 将Spring Boot集成到旧版应用程序中 - Integrate Spring Boot in a legacy application 实施健康检查 rest API 使用自定义健康指标 Spring 启动应用程序 - Implementing health check rest API using custom health indicator for Spring boot application 仅健康检查后端 spring-boot 应用程序(消息处理应用程序) - Health check back-end only spring-boot application (message processing application) Spring执行器可以与非Web Spring Boot应用程序一起使用吗? - Can Spring actuator be used with non-web Spring Boot application? 如何在Spring Boot中指定自定义运行状况检查注册表(application.yml) - How to specify custom health check registry in spring boot (application.yml) 如何将 spring 引导应用程序集成到旧版 java 应用程序中并隔离它? - how to integrate a spring boot application into a legacy java application and isolate it? 我想创建非 web spring boot 应用程序 - i want to create the non-web spring boot application Spring Boot - 非Web应用程序的长期运行应用程序 - Spring Boot - long running application for non-web app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM