Set Enterprise Server monitoring levels to get accessible GlassFish SNMP data as follows:
Set web container monitoring to HIGH to get all j2eeServletStatTable data.
Set EJB container monitoring to HIGH to get all j2eeEjbEntityStatTable, j2eeEjbStatelessStatTable, j2eeEjbStatefulStatTable, and j2eeEjbMessageDrivenStatTable data.
Set transaction service monitoring to HIGH to get all j2eeJtaStatTable data.
Set connector connection pool monitoring to HIGH to get all j2eeJcaConPoolStatTable data.
Set JDBC connection pool monitoring to HIGH to get all j2eeJDBCConPoolStatTable data.
All j2eeJVMStatTable data is always displayed regardless of the JVM monitoring setting.
Use the following asadmin set commands to set monitoring levels. Substitute the name of the configuration for server-config. For example:
asadmin set server-config.monitoring-service.module-monitoring-levels.web-container=HIGH asadmin set server-config.monitoring-service.module-monitoring-levels.ejb-container=HIGH asadmin set server-config.monitoring-service.module-monitoring-levels.transaction-service=HIGH asadmin set server-config.monitoring-service.module-monitoring-levels.connector-connection-pool=HIGH asadmin set server-config.monitoring-service.module-monitoring-levels.jdbc-connection-pool=HIGH asadmin set server-config.monitoring-service.module-monitoring-levels.jvm=HIGH |
For more information about the asadmin set command, see the Sun GlassFish Enterprise Server 2.1 Reference Manual.
To use the Admin Console, follow these steps:
Go to the Monitoring page for your configuration.
Change the value to HIGH in the drop-down list for any or all of the following settings:
JVM
Transaction Service
JMS/Connector Service
Web Container
EJB Container
JDBC Connection Pool
Select the Save button.