lambda probe是一个tomcat性能监控工具,它提供了比tomcat管理控制台更加强大的功能,它自身也是一个web应用,直接部署到tomcat下就可以通过web方式来访问了.
lambda probe提供了非常丰富的功能,下面是它的一些特性:
* Comprehensive JVM memory usage monitor.
* JBoss compatibility
* Display of deployed applications, their status, session count, session object count, context object count, datasource usage etc.
* Start, stop, restart, deploy and updeploy of applications
* Ability to view deployed JSP files
* Ability to compile all or selected JSP files at any time.
* Ability to pre-compile JSP files on application deployment.
* Ability to view auto-generated JSP servlets
* Display of list of sessions for a particular application
* Display of session attributes and their values for a particular application. Ability to remove session attributes.
* Ability to view application context attributes and their values.
* Ability to expire selected sessions
* Graphical display of datasource details including maximum number of connections, number of busy connections and configuration details
* Ability to group datasource properties by URL to help visualizing impact on the databases
* Ability to reset data sources in case of applications leaking connection
* Display of system information including System.properties, memory usage bar and OS details
* Display of JK connector status including the list of requests pending execution
* Real-time connector usage charts and statistics.
* Real-time cluster monitoring and clulster traffic charts
* Real time OS memory usage, swap usage and CPU utilisation monitoring
* Ability to show information about log files and download selected files
* Ability to tail log files in real time from a browser.
* Ability to interrupt execution of “hang” requests without server restart
* Ability to restart Tomcat/JVM via Java Serview Wrapper.
* Availability “Quick check”
网址: http://www.lambdaprobe.org/d/index.htm
在线演示: http://demo.lambdaprobe.org/ 用户名密码为demo/demo 。
--------------------------------------------------------------------------------
安装帮助:
Depending on the type of application server Lambda Probe is being installed on the installation procedure will differ. There are two types of application servers that are supported: http://www.lambdaprobe.org/d/download.htm
Apache Tomcat (standalone)
JBoss with embedded Apache Tomcat
Installing on Apache Tomcat
Lambda Probe requires privileged context. Depending on your preferred way of deploying WARs such context would either be installed automatically or manually. In any case you can find sample context.xml inside probe.war in META-INF directory. Various installation procedures are outlined below.
Installation using Tomcat Manager (recommended)
Download Lambda Probe .war file
Start Tomcat and go to Manager url (ex. http://localhost:8080/manager/html)
Upload probe.war using "WAR file to deploy" option
Installing manually
Download Lambda Probe .war file
Shutdown Tomcat if it is running
Copy probe.war to $CATALINA_HOME/webapps/
Start Tomcat
Custom installation
If your Tomcat installation is customized and you would like to deploy probe.war completely by hand please do not forget to include privileged="true" in the context XML file. Here is a sample context XML:
<?xml version="1.0" encoding="UTF-8"?> <Context path="/probe" privileged="true"/>
Lambda Probe does not need any other configuration parameters, so you could use this example as is.
Security configuration
Lambda Probe requires four security roles to be declared: manager, poweruser, poweruserplus and probeuser. By default Tomcat roles are configured via tomcat-users.xml file. Structure of that file is quite self explanatory.
manager is the same role as required by Tomcat Manager. This role is given full access to Lambda Probe functionality
poweruser role has the same privileges as manager except for deploying and removing applications and monitoring Tomcat via "quick check" feature
poweruserplus role has the same privileges as poweruser plus ability to restart JVM.
probeuser is the least privileged role of the three and it is restricted to read-only functionality. Features like application stop/start, datasource reset would not be available
To top
Intalling on JBoss
Security configuration
Create two files in "JBOSS_SERVER_HOME/conf/props" directory:
probe-users.properties: list of users in the format of "username=password", example:
admin=t0psercret
probe-roles.properties: list of roles in the format of "username=role1[,role2...], example:
admin=manager
Edit "JBOSS_SERVER_HOME/conf/login-config.xml" and add the following code to the <policy> element:
<application-policy name = "probe">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "required">
<module-option name="usersProperties">props/probe-users.properties</module-option>
<module-option name="rolesProperties">props/probe-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
Privileged context
JBoss needs to allow Lambda Probe to be deployed into a privileged context. To do that add the following attribute to JBOSS_SERVER_HOME/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml:
<attribute name="AllowSelfPrivilegedWebApps">true</attribute>
Deploying Lambda Probe WAR
Copy probe.war to JBOSS_SERVER_HOME/deploy/ and restart JBoss. That is it.
Known issues
JBoss 4.0.3 log4j configuration file is not compatible it seems with log4j 1.2.13, which comes with the Probe. For this reason there is a special distribution that does not include log4j.
JBoss 3.2.8SP1 has a bug, which does not let Lambda Probe to restart applications. The bug had been reported to JBoss and has already be assigned to a developer; lets hope it'll get fixed soon. Please do not report this issue to me.
分享到:
相关推荐
tomcat实时监控工具Lambda Probe汉化版 1、亲测tomcat6和tomcat7,绝对中文版; 2、部署方便,直接把war包放到webapp下就能使用; 3、内有使用和操作文档; 绝对精品,值得收藏。
Lambda Probe是一款针对Apache Tomcat服务器的强大实时监控工具,它提供了丰富的可视化界面,使得管理员能够方便地监测和管理Tomcat服务器的运行状态。该工具的主要功能包括但不限于以下几点: 1. **性能监控**:...
总的来说,Lambda Probe是一款强大而实用的Tomcat监控工具,它能够帮助我们更好地理解和优化Tomcat服务器的性能,及时发现和解决问题,提高系统的稳定性和效率。正确地使用和配置Lambda Probe,将极大地提升我们的...
psi-probe 是在相同的开源许可证( GPLV2 )下分发的社区驱动的 Lambda Probe 。它的目的是替换和扩展 Tomcat 管理器,使得管理和监视 Apache Tomcat 的实例更容易。与许多其他服务器监控工具不同, psi-prob e 不...
Lambda Probe就是这样一个专门为Tomcat设计的监控工具,它能够实时展示服务器的运行状态,并提供丰富的性能指标。 Lambda Probe是一个全功能的Web应用,可以直接在Tomcat8上部署,无需额外安装。它提供了一个直观的...
总结,Lambda Probe是Tomcat监控的得力助手,它提供了丰富的监控和管理功能,帮助用户快速诊断和优化服务器性能。通过深入理解和有效利用Lambda Probe,可以提升运维效率,保证应用的稳定运行。
Lambda Probe 是基于 Web + AJAX 的强大的免费开源工具,可以用来实时管理一个单独的host。LambdaProbe拥有几乎所有Tomcat Manager的功能,可以说是一个增强版本的 Tomcat Manager。除此之外,Tomcat Probe 还拥有很...
Apache Tomcat的高级管理器和监视器,来自Lambda Probe
psi-probe 是Lambda Probe的一个开源分支(Lambda Probe已经在2006年停止更新),是一个Tomcat的性能监控和管理工具,提供比Tomcat manager更加强大的功能。
4. 重启Tomcat,通过浏览器访问`http://your_server:port/lambda-probe/`即可启动LambdaProbe。 **注意事项** - 使用LambdaProbe时,要确保其与生产环境的安全策略相符,避免泄露敏感信息。 - 定期更新LambdaProbe...
LambdaProbe Tomcat Manager是一款强大的开源工具,用于管理和监控Apache Tomcat服务器。这个工具以其简洁的界面和丰富的功能,为管理员提供了便捷的方式来查看和控制Tomcat实例。LambdaProbe的名字来源于其核心概念...
LambdaProbe 是一个强大的开源工具,专门用于监控和管理 Apache Tomcat 服务器的性能。这个工具在版本 1.7b 中提供了丰富的功能,使得管理员能够更深入地了解和优化他们的 Tomcat 应用服务器。LambdaProbe 提供了...
Lambda Probe(以前称为Tomcat Probe)是一款实时监控和管理的Apache Tomcat实例的基本工具。 Lambda Probe 是基于 Web + AJAX 的强大的免费开源工具,可以用来实时管理一个单独的host。LambdaProbe拥有几乎所有 ...
除此之外,Tomcat Probe 还拥有很多让开发者和系统管理者更方便的性能。从而使得Tomcat对开发者和管理者更加透明。包括 应用程序,数据源,发布,日志,线程,集群,系统信息,状态,连接器状态这些功能. 如配合 JDK 1.5 ...