tomcat监控系统PSI-probe 2.3.3中文版详细安装教程文档分享
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
六、效果图
猜你喜欢
- java自己写的一个系统监控代码
- C#开发Windows服务器负载监控软件,包括CPU、内存和硬盘的占用率,超过阈值发送邮件
- 基于安卓Android蓝牙的智能农业监控系统
- java和python结合项目,实现ajax+echarts显示端口占用数监控
- python开发监控linux cpu高于指定值的脚本,并统计nginx日志访问记录最高的ip发送邮件
- java本机监控程序
- 多网站监控bat脚本&脚本执行器v1.0
- spring通过annotation注解注册MBean到JMX实现监控java运行状态
- [个人笔记]redis服务端状态与性能监测命令
- 基于连接池监控组件druid实现的监控用户在线状态
- java swing停车场管理模拟系统
- DRP系统
- /
- /PSI-probe-2.3.3 中文版 及安装详解
- /PSI-probe-2.3.3 中文版 及安装详解/probe
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/datasourcetest.css
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/deploy.css
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/animated_reset.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/browser_galeon.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/icon_minus.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/icon_plus.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/progressbar_editnplace.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/progressbar_microsoft.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/rb_0+0.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic/gifs/rb_0+1.gif
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css/classic
- /PSI-probe-2.3.3 中文版 及安装详解/probe/css
- /PSI-probe-2.3.3 中文版 及安装详解/probe
- /PSI-probe-2.3.3 中文版 及安装详解
- 证HTML5+jQuery制作温馨浪漫爱心表白动画特效
- 精Apache Shiro+SpringMVC+Hibernate Search+Hibernate+Bootstrap企业信息管理系统基础框架搭建整合实例代码教程
- 证精spring MVC+easyUI+mybatis开发网站后台管理系统源代码下载
- 一套EASYUI的经典后台管理模板
- 证精java开源CMS管理系统jeetemp
- 精html网站内容管理系统后台模板源代码下载,花钱买的模板。
- 原精spring mvc+spring+mybatis+shiro+easyui整合开发后台用户权限管理系统
- 一款漂亮的轻量级bootstrap中文后台管理系统模板ace
- js框架jquery实现幸运大转盘抽奖程序代码,兼容多种浏览器
- 证HTML5音乐播放器效果非常漂亮
- 证精企业人力资源管理项目SSH+EXTJS+MySQL整合开发
- 证jsp+servlet+mysql员工管理系统源代码下载
- 证精java开源CMS管理系统jeetemp
- java牛官方想开发一个全部开源的系统
- 证精企业人力资源管理项目SSH+EXTJS+MySQL整合开发
- 精基于springMVC+springSecurity3.x+Mybaits3.x的权限系统,,开放源码,支持开源
- 证精spring MVC+easyUI+mybatis开发网站后台管理系统源代码下载
- 【猪猪-前端】基于HTML5 Bootstrap搭建的后台模板charisma,分页,模糊查询已经全部JS实现,无需编码,嵌入数据即可开发,内置8款皮肤,欧美风格,非常好用!
- 精Apache Shiro+SpringMVC+Hibernate Search+Hibernate+Bootstrap企业信息管理系统基础框架搭建整合实例代码教程
- 证精springmvc+hibernate+jbpm开发OA自动化办公后台管理系统源码下载
- 证精struts2.3+hibernate4.1+spring3.2+EasyUI1.36整合实现的java后台管理系统
- 证HTML5+jQuery制作温馨浪漫爱心表白动画特效
- 证精spring+spring mvc+mybatis+bootstrap框架整合搭建ssm完整项目
- 证精年末最代码部分源码大出血分享-freemarker,bootstrap,springdata jpa分页代码
- 原证jsp+servlet开发java web图书后台管理系统
- Spring+JMS+ActiveMQ+Tomcat整合项目实例
- 证java通过授权码机制调用腾讯邮箱smtp服务发送邮件
- 原证html5故宫展评展示页面
- 原fastjson实现json比较
- 原精ssm学生宿舍管理系统,maven多模块搭建,实现用户分角色登录+分页等技术
- 原证ssm开发实现简单的oa办公管理系统,maven搭建
- 原ssh实现简单的论坛帖子增删改查,分页,回复帖子的项目实例
- 原java servlet调用百度AI开放平台动物识别API和百度百科API实现动物识别的实例
- java编写一个词法分析器,输入算术表达式计算该字符串中的所有运算数和运算符
- java设计模式代码实例
- 原证精ssm(spring+spring mvc+mybatis)开发java web小说网站,只支持手机端浏览

- windows和linux下Tomcat内存的分配与溢出的配置详解
- java通过ftp和sftp上传war包上传到Linux服务器实现自动重启tomcat的脚本代码
- 【小C出品】Tomcat实现自动重启脚本
- 原证精nginx tomcat集群配置实现无痛重启服务教程python语言版本
- java重启多个tomcat,可打包成jar文件直接运行
- 原证精nginx tomcat集群配置实现无痛重启服务教程
- tomcat7单点登录安装证书配置教程
- Java端口监听tomcat脚本程序代码分享
- apache+tomcat集群配置
- Linux一键启动、停止、重启Tomcat sh脚本
- 原【小C出品】应学员的要求,java实现基于eclipse插件杀死TOMCAT进程的代码
