Overview of artefacts used for monitoring of Sun Java Web Server
Now, we have seen how to monitor the Sun Java Web Server with the code sample provided with the book. Let's spend some time to understand the code sample that we used in the exercise.
Target definition
First, we need to find out what is the runtime entity or process that we want to monitor. A very basic set up of Sun Java Web Server has an Admin Server process and a Web Server process. The Admin Server process can be used only for administration and it doesn't serve any content or application service. The web server process is used for serving content to the real end-user. So, the web server process is the entity that we want to monitor, as this impacts content delivery for the end-user.
You will remember from the earlier chapters that all managed entities should be modeled as a target, so we will model the web server process as a target.
The first step of target modeling is naming the target type; we need an internal name...