About Monitoring

Overview of Monitoring

To monitor the Enterprise Server, perform these steps:

1.Enable the monitoring of specific services and components using either the Admin Console or the asadmin tool.

For more information on this step, refer to “Enabling and Disabling Monitoring” on page 191.

2.View monitoring data for the specified services or components using either the Admin Console or the asadmin tool.

For more information on this step, refer to “Viewing Monitoring Data” on page 193.

About the Tree Structure of Monitorable Objects

The Enterprise Server uses a tree structure to track monitorable objects. Because the tree of monitoring objects is dynamic, it changes as components are added, updated, or removed in the instance. The root object in the tree is the server instance name, for example, server. (In the Platform Edition, just one server instance is permitted.)

The following command displays the top level of the tree:

asadmin> list --user adminuser --monitor server server.applications

server.http-service server.connector-service server.jms-service server.jvm

server.orb

server.resources server.thread-pools

The following sections describe these sub-trees:

“The Applications Tree” on page 172

“The HTTP Service Tree” on page 173

“The Resources Tree” on page 174

“The Connector Service Tree” on page 174

“The JMS Service Tree” on page 174

“The ORB Tree” on page 175

“The Thread Pool Tree” on page 175

The Applications Tree

The following schematic shows the top and child nodes for the various components of enterprise applications. The nodes at which monitoring statistics are available are marked with an asterisk (*). For more information, refer to “EJB Container Statistics” on page 176.

172

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

Page 172
Image 172
Sun Microsystems 820433510 Overview of Monitoring, About the Tree Structure of Monitorable Objects, Applications Tree