一、简介
psi-probe是lambdaprobe的一个分支版本,用于对Tomcat进行监控,比tomcat的manager强大很多。
psi就是一个形如叉子的符号Ψ,希腊字母的第23个字母,用来代表fork。
为啥需要分支呢,因为lambdaprobe已经多年没有更新(大致在2006年就停止发布新版本了)。
二、下载地址
http://code.google.com/p/psi-probe/downloads/list
三、安装
1.解压,将probe.war放进webapps目录。
2.修改CATALINA_HOME/conf/tomcat-users.xml
(权限配置参考如下,由于首先保证可运行,权限没有特别细分,仅供参考)
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="poweruser"/>
<role rolename="probeuser"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="sss" password="sss" roles="manager-gui"/>
<user username="fbysss" password="sss" roles="manager-script,manager-jmx,manager-status,poweruser,probeuser"/>
</tomcat-users>
四、注意事项
1.不要忘记文件中的<!---->,默认是注释的,需要去掉
2.tomcat6.0.30以上,角色manager一分为四,manager仍保留但不建议使用,因为那样容易遭到CSRF攻击。详见下面的描述:
Note that for Tomcat 6.0.30 onwards, the roles required to use the manager application were changed from the single manager role to add the following four roles. (The manager role is still available but should not be used as it avoids the CSRF protection). You will need to assign the role(s) required for the functionality you wish to access. manager-gui - allows access to the HTML GUI and the status pages manager-script - allows access to the text interface and the status pages manager-jmx - allows access to the JMX proxy and the status pages manager-status - allows access to the status pages only The HTML interface is protected against CSRF but the text and JMX interfaces are not. To maintain the CSRF protection: users with the manager-gui role should not be granted either the manager-script or manager-jmx roles. if the text or jmx interfaces are accessed through a browser (e.g. for testing since these interfaces are intended for tools not humans) then the browser must be closed afterwards to terminate the session.
如果配置不对,就会出现403的错误,连tomcat的manager都进不了,更不用说probe了。
3.lambdaprobe是不支持tomcat6.0.30的。所以最好使用psi-probe。
4.在配置tomcat-users.xml时,还需要加入poweruser等角色,才可以正常使用,不然也是403Forbidden。
5.如果要查看System Information,需要在catalina.sh中加入如下语句:
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
windows版本:catalina.bat中加入SET JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote
五、权限控制
probe有 probeuser、poweruser、poweruserplus、manager(针对不同tomcat版本)等角色,对应可操作的功能如下表:
特别注意一点:表格里面的X表示拥有权限,也就是说,manager的权限是最大的,什么都能操作(不推荐配置)。
Features by Role
probeuser | poweruser | poweruserplus | manager | |
Context: list | X | X | X | X |
Context: status | X | X | X | X |
Context: view servlets | X | X | X | X |
Context: view servlet mappings | X | X | X | X |
Context: view filters | X | X | X | X |
Context: view filter mappings | X | X | X | X |
Context: list attributes | X | X | X | X |
Context: remove attributes | X | X | X | |
Context: start | X | X | X | |
Context: stop | X | X | X | |
Context: view web.xml | X | X | X | |
Context: view context.xml | X | |||
Context: deploy | X | |||
Context: undeploy | X | |||
Session: list | X | X | X | X |
Session: list attributes | X | X | X | X |
Session: search attributes | X | X | X | X |
Session: remove attributes | X | X | X | |
Session: view last-accessed IP | X | X | X | X |
Session: expire single | X | X | X | |
Session: expire multiple | X | X | X | |
JSP: list | X | X | X | |
JSP: view source | X | X | X | |
JSP: view servlet source | X | X | X | |
JSP: compile single | X | X | X | |
JSP: compile multiple | X | X | X | |
JSP: compile all on deployment | X | |||
JSP: discard all compiled | X | |||
Data Source: list | X | X | X | X |
Data Source: group by JDBC URL | X | X | X | X |
Data Source: status | X | X | X | X |
Data Source: reset | X | X | X | |
Data Source: test | X | X | ||
Data Source: view query history | X | X | ||
Data Source: execute SQL | X | X | ||
Log: list | X | X | X | X |
Log: tail in real-time | X | X | X | X |
Log: download | X | X | X | X |
Thread: list | X | X | X | X |
Thread: view execution stack | X | X | X | |
Thread: kill | X | |||
Connector: status | X | X | X | X |
Connector: real-time usage charts | X | X | X | X |
Cluster: status | X | X | X | X |
Cluster: real-time traffic charts | X | X | X | X |
JVM: real-time memory usage charts | X | X | X | X |
JVM: status | X | X | X | X |
JVM: advise GC | X | |||
Java Service Wrapper: status | X | X | X | X |
Java Service Wrapper: restart JVM | X | |||
System: overview | X | X | X | X |
System: properties | X | X | X | X |
System: OS details | X | |||
Quick Check: execute | X |
六、效果图
相关推荐
psi-probe是lambdaprobe的一个分支版本,用于对Tomcat进行监控,比tomcat的manager强大很多。 psi就是一个形如叉子的符号Ψ,希腊字母的第23个字母,用来代表fork。 为啥需要分支呢,因为lambdaprobe已经多年没有...
psi-probe的war包下载psi-probe的war包下载psi-probe的war包下载psi-probe的war包下载psi-probe的war包下载psi-probe的war包下载psi-probe的war包下载
最新版本的psi-probe工具,用来监控tomcat Web服务器的。很不错。
PSI-probe 2.3.3 ,解压后复制到 tomcat 的 webapps 目录下即可,记得修改 /conf/tomcat-users.xml 文件,添加以下信息: ,manager"/>
psi_probe 3.2 多种语言选择支持切换中文 probe.war,直接把war包放到webapp下,修改tomcat/conf/tomcat-user.xml 文件,建个用户并且赋权
PSI-probe-2.3.3 中文版,以及详细的安装手册,安装配置详解。助您监控tomcat运行的情况
PSI探针会费请关注 ,并添加以下内容: 开始工作之前,请确保存在。... 注意:如果您打算为PSI Probe做出贡献,则应首先在GitHub上创建自己的fork并将其克隆。 否则,请按照以下步骤为您自己构建最新版本的P
Tomcat的管理和监控 PSI Probe
Tomcat的管理和监控 PSI Probe.7z
probe
NULL 博文链接:https://samter.iteye.com/blog/2306027
基于java的Tomcat的管理和监控 PSI Probe.zip
java源码:Tomcat的管理和监控 PSI Probe.zip
有关使用PSI Probe和发送补丁的信息,请参见 。 通过Github发布的最新版本 请从下载最新的probe.war 通过Maven Central发布的最新版本 请从下载最新的psi-probe-web.war版本 您可以将“ psi-probe-web.war”重命名为...
psi-probe.war
Apache Tomcat的高级管理器和监视器,来自Lambda Probe
tomcat性能监控工具,支持tomcat8.5,零配置,只需将war包放置到webapps下,重启tomcat即可
tomcat监控,jdk<1.8
免责声明:资料部分来源于合法的互联网渠道收集和整理,部分自己学习积累成果,供大家学习参考与交流。收取的费用仅用于收集和整理资料耗费时间的酬劳。 本人尊重原创作者或出版方,资料版权归原作者或出版方所有,...
介绍一款tomcat监控神器psi-probe,这是lambdaprobe的一个分支版本,用于对Tomcat进行监控,比tomcat的manager强大很多,tomcat 7