监控Tomcat无需特别的配置,基本上拷到WebApps目录即可使用。
这个能执行长期监控,最近正在想找个东西监控Jboss Session,probe还能查看到session的详细内容。
jboss有专门的版本: 下载最新版本,部署成功后:
![](http://hiphotos.baidu.com/higkoo/pic/item/15984697ac07994f54fb96d6.jpg)
直接摘取官方配置如下:
Intalling on JBossSecurity 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=t0psercretprobe-roles.properties: list of roles in the format of "username=role1[,role2...], example:
admin=managerEdit "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 WARCopy probe.war to JBOSS_SERVER_HOME/deploy/ and restart JBoss. That is it.
转自:http://hi.baidu.com/higkoo/item/0c07180d6d7da47dbfe97ed8
LambdaProbe 1.7b 的中文语言包下载: messages_zh_CN.zip 9KB。使用方法是: 把下载的文件解压缩, 将其中的 messages_zh_CN.properties 放到 $TOMCAT_HOME$\webapps\probe\WEB-INF 下即可。