Introduction
WebLogic Server is an application server, a platform for developing and deploying multitier distributed enterprise applications. WebLogic Server centralizes application services such as web server functionality, business components, and access to backend enterprise systems. It uses technologies such as caching and connection pooling to improve resource use and application performance.
Prerequisite
- WebLogic must be installed.
- Domain must be configured.
Configuring Remote JMX
Open the setDomainEnv.sh file in the following location and add the following lines:
File: <Oracle_Home>/user_projects/domains/base_domain/bin/setDomainEnv.sh
JAVA_OPTIONS="$JAVA_OPTIONS \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=7199 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
-Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder"
Now restart the WebLogic Server for the changes to take effect.
Note: <Oracle_Home> in file location is the installation directory where weblogic is installed.
Applying WebLogic template
- Select the WebLogic Monitors template
- Move the WebLogic Monitors from Available templates to Selected templates.
- Enter the credentials.
- Set UserName, and Password to “NA”, if not applicable.
Supported Metrics
Monitor Name | Display Name | Description | Units |
---|---|---|---|
weblogic_thread_count | Thread Count | Thread count of the server | |
weblogic_total_started_thread_count | Total Started Thread Count | Total started thread count | |
weblogic_loaded_class_count | Loaded Class Count | Loaded class count | |
weblogic_unloaded_class_count | Unloaded Class Count | Unloaded class count | |
weblogic_gc_collection_count | Collection Count | Number of garbage objects collected | |
weblogic_gc_collection_time | Collection Time | Time taken for collection of the garbage objects | |
weblogic_open_file_descriptor_count | Open File Descriptor Count | Number of open file descriptors of the server | |
weblogic_heap_memory_usage_used | Heap Memory Usage Used | Heap memory usage of the server | MB |
weblogic_heap_memory_usage_committed | Heap Memory Usage Committed | Heap memory committed for the server | MB |
weblogic_non_heap_memory_usage_used | Non Heap Memory Usage Used | Non heap memory usage of the server | MB |
weblogic_non_heap_memory_usage_committed | Non Heap Memory Usage Committed | Non heap memory committed for the server | MB |
weblogic_uptime | WebLogic Uptime | WebLogic uptime | Minutes |
weblogic_thread_pool_hogging_thread_count | Hogging Thread Count | Hogging thread count | |
weblogic_thread_pool_execute_thread_idle_count | Execute Thread Idle Count | Execute thread idle count | |
weblogic_thread_pool_standby_thread_count | Standby Thread Count | Standby thread count | |
weblogic_jta_transaction_count | JTARuntime Transaction Count Rate | JTARuntime transaction count rate | Per Second |
weblogic_jta_transaction_committed_count | JTARuntime Transaction Committed Count Rate | JTARuntime transaction committed count rate | Per Second |
weblogic_jta_transaction_rolled_back_count | JTARuntime Transaction Rolled Back Count Rate | JTARuntime transaction rolled back count rate | Per Second |
weblogic_jta_transaction_abandoned_count | JTARuntime Transaction Abandoned Count Rate | JTARuntime transaction abandoned count rate | Per Second |
weblogic_jdbc_ds_num_available | Num Available | JDBC datasource num available | |
weblogic_jdbc_ds_curr_capacity | Curr Capacity | JDBC datasource curr capacity | |
weblogic_jdbc_ds_connections_count | Connections Count Rate | JDBC datasource connections count rate | Per Second |
weblogic_jdbc_ds_active_connections_current_count | Active Connections Current Count | JDBC datasource active connections current count | |
weblogic_jdbc_ds_leaked_connection_count | Leaked Connection Count | JDBC datasource leaked connection count | Per Second |
weblogic_jdbc_ds_prep_stmt_cache_current_size | Prep Stmt Cache Current Size | JDBC datasource prep stmt cache current size | |
weblogic_jdbc_ds_waiting_for_connection_current_count | Waiting For Connection Current Count | JDBC datasource waiting for connection current count | |
weblogic_jdbc_ds_waiting_for_connection | Waiting For Connection Rate | JDBC datasource waiting for connection rate | Per Second |
weblogic_jdbc_ds_waiting_for_connection_success | Waiting For Connection Success Rate | JDBC datasource waiting for connection success rate | Per Second |
weblogic_jdbc_ds_waiting_for_connection_failure | Waiting For Connection Failure Rate | JDBC datasource waiting for connection failure rate | Per Second |
weblogic_ejp_access_count | Access Count Rate | EJBPool access count rate | Per Second |
weblogic_ejp_miss_count | Miss Count Rate | EJBPool miss count rate | Per Second |
weblogic_ejp_waiter_current_count | Waiter Current Count | EJBPool waiter current count | |
weblogic_ejp_destroyed_count | Destroyed Count Rate | EJBPool destroyed count rate | Per Second |
weblogic_ejp_beans_in_use_current_count | Beans In Use Current Count | EJBPool beans in use current count | |
weblogic_ejp_pooled_beans_current_count | Pooled Beans Current Count | EJBPool pooled beans current count | |
weblogic_ejp_transactions_committed_count | Transactions Committed Count Rate | EJB transactions committed count rate | Per Second |
weblogic_ejp_transactions_rolled_back_count | Transactions Rolled Back Count Rate | EJB transactions rolled back count rate | Per Second |
weblogic_ejp_transactions_timed_out_count | Transactions Timed Out Count Rate | EJB transactions timed out count rate | Per Second |