tomcat性能监控工具-lambda_probe

tomcat性能监控工具-lambda_probe

直接部署到webapps目录下就可以了
http://www.l-penguin.idv.tw/article/lambda_probe.htm

下载安装
# wget http://www.lambdaprobe.org/downloads/1.7/probe.1.7b.zip
# unzip probe.1.7b.zip
# mv probe.war /usr/local/tomcat/webapps/

设置
增加probe的虚拟目录
# vi /usr/local/tomcat/conf/server.xml

<Context path="/probe" docBase="/opt/tomcat/webapps/probe.war" privileged="true"
         debug="5" reloadable="true" crossContext="true">
</Context>

设置登录用户名与密码
# vi /usr/local/tomcat/conf//tomcat-users.xml

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
        <role rolename="manager"/>
        <role rolename="standard"/>
        <role rolename="tomcat"/>
        <role rolename="admin"/>
        <role rolename="role1"/>
        <user username="tomcat" password="tomcat" roles="tomcat"/>
        <user username="both" password="tomcat" roles="tomcat,role1"/>

你可能感兴趣的:(tomcat,xml)