Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Probe, a sharp weapon for Tomcat monitoring

Shulou Source: shulou.com Published: 2022-06-03 06:24:14 09月29日 Update

Probe introduction

The guy changed his name three times and finally changed his name to psi-probe, which was downloaded from googlecode and has now migrated to github. It is mainly used to monitor Tomcat.

download

Https://github.com/psi-probe/psi-probe/releases

Generally, you can download the war package. Put the downloaded war package into the webapp directory of tomcat.

Configure permissions

To access probe, you need to configure the permissions of tomcat. Modify the tomcat-users.xml and add it to the tag

Configuration parameters

If it is under windows, modify conf/catalina.bat and add set JAVA_OPTS=-Dcom.sun.management.jmxremote

If it is under linux, modify conf/catalina.sh and add export JAVA_OPTS=$JAVA_OPTS "- Dcom.sun.management.jmxremote"

Start tomcat to access probe

After the above steps are completed, you can start tomcat, and then visit the browser: http://localhost:8080/probe, you can see something similar to the following figure

Introduction to probe tags

For the running apps on Applecations:tomcat, you can see the status, number of requests, and number of session of each application. Click in to view the details.

Data sources for Data Sources:tomcat

Deployment: code deployment, select a war and deploy

Logs:tomcat log

Threads:tomcat thread, you can view the status of the thread and other information, but also kill the thread

Cluster:tomcat cluster

System Information: system information

Connectors:connector information, you can see the number of requests per second, response time, etc.

Quick check: quickly detect tomcat data sources, memory, etc.

More information can be found on the official website: https://psi-probe.github.io/psi-probe/

Tags: Information threads configuration data data sources permissions tags status applications monitoring the following figure lower officials code memory content parameters names guys logs time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Huawei Shulou Tech Info NVidia OPPO Reno