Jieum’s Weblog

Just another WordPress.com weblog

Tomcat JVM Monitoring Tool-Lambda Probe for apache Tomcat

Lambda Probe for Apache Tomcat Monitoring tool by jieum

It is installed in sever to monitor JVM Memory usage Lambda Probe.
It is free license..um just free charge!!!

Installation is easy.

1.install

1-1.Installation using Tomcat Manager (recommended)

1-2.Installing manually

  • Download Lambda Probe .war file
  • Shutdown Tomcat if it is running
  • Copy probe.war to $CATALINA_HOME/webapps/
  • Start Tomcat

That’s too easy!!!

2.admin role Append

After you install one of above two cases,append role to ‘tomcat-users.xml’

next, It is tomcat-users.xml.
you should append monitoring auth block like under.

<?xml version=’1.0′ encoding=’utf-8′?>
<tomcat-users>
<role rolename=”manager”/>
<role rolename=”admin”/>
<!– monitoring auth[s]–>
<role rolename=”poweruser”/>
<role rolename=”probeuser”/>
<role rolename=”poweruserplus”/>
<user username=”admin” password=”admin” roles=”manager,admin,poweruser,poweruserplus,probeuser”/>
<!– monitoring auth[e]–>
<user username=”tomcat” password=”s3cret” roles=”manager,admin”/>
</tomcat-users>

3.Append Environmental variables

finally,setting Environmental variables like under.
if your computer os is window
append this    to mycoumuter>……>system variable

JAVA_OPTS
-Dcom.sun.management.jmxremote

if linux or unix

you should append this block to profile file

JAVA_OPTS=”-Dcom.sun.management.jmxremote”

It is over.

if you restart tomcat web server and connect http://localhost/manager/html

you will see “/probe” context.

September 3, 2008 Posted by jieum | was | , , | 1 Comment