In this exercise, we will monitor Sun Java Web Server using some sample code available with the book. After the exercise in the next section, we'll describe the code used for this exercise.
You will need a setup of Enterprise Manager Grid Control. Besides the Enterprise Manager setup, you will need one more host where you can install Sun Java Web Server. On the additional host you will need to install an additional agent. You may want to refer to Chapter 2 for this installation.
Once you have this setup ready, install Sun Java Web Server on the host where you installed the additional agent. Note down the following details about this installation of the web server: