Tag Archives: Oracle WebLogic Server

Monitoring Oracle WebLogic Servers

This blog is contributed by my friend Luciano Gomes, a VMware Technical Account Manager in Rio de Janeiro Area, Brazil. Thank you, Lucky!

You can monitor Oracle WebLogic Server using vR Ops. This helps you see the correlation between Application and Infrastructure. I’ve created 3 custom dashboards to jump start your effort.

First of all, the pre-requisites:

  1. vR Ops Enterprise edition.
  2. Weblogic Solution Installed
    1. Download here and see here how to install
    2. We support WebLogic 10.3 and above. These dashboards were made for 10.3. If you have a different version you need to update the metrics files.
  3. EP Ops Agent installed on each WebLogic servers that you want to monitor
    1. See here how to install
  4. Import all Dashboards, Views and re-create all metrics files available.
    1. See here how to import

To import, follow these 3 steps:

  1. Import the dashboards available here
  2. Import the views available here
  3. Recreate the Metrics files, available below (See here how to recreate this metrics files below). The files must have the same name as shown below.

weblogic-admin-server.xml

<?xml version="1.0" encoding="UTF-8"?>
 <AdapterKinds>
 <AdapterKind adapterKindKey="EP Ops Adapter">
 <ResourceKind resourceKindKey="Weblogic Admin 10.3">
 <Metric attrkey="PERFORMANCE|JVMTotalGarbageCollectionTime" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="PERFORMANCE|JVMTotalGarbageCollectionTimeperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|InvalidLoginAttemptsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|JTAActiveTransactionsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|JTACommittedTransactionsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|JMSActiveServers" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|JTASecondsActiveperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|JTASystemTransactionsRolledBackperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|JTATransactionsRolledBackperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|SocketsOpen" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 </AdapterKind>
 </AdapterKinds>

weblogic-jdbc-connection-pool.xml

<?xml version="1.0" encoding="UTF-8"?>
 <AdapterKinds>
 <AdapterKind adapterKindKey="EP Ops Adapter">
 <ResourceKind resourceKindKey="Weblogic 10.3 JDBC Connection Pool">
 <Metric attrkey="UTILIZATION|ActiveConnections" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|FailurestoReconnectperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|HighActiveConnections" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|LeakedConnectionsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|MaxConnectionsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalConnectionsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="AVAILABILITY|ResourceAvailability" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|ConnectionDelayTime" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|TotalConnections" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|WaitingForConnectionCurrentCount" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 </AdapterKind>
 </AdapterKinds>

weblogic-jta-resource.xml

<?xml version="1.0" encoding="UTF-8"?>
 <AdapterKinds>
 <AdapterKind adapterKindKey="EP Ops Adapter">
 <ResourceKind resourceKindKey="Weblogic 10.3 JTA Resource">
 <Metric attrkey="AVAILABILITY|ResourceAvailability" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionHeuristicCommitsperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionHeuristicHazardTotalperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionHeuristicMixedTotalperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionHeuristicRollbacksperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionHeuristicsTotalperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionsCommittedperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionsRolledBackperMinute" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionsTotal" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="THROUGHPUT|TransactionHeuristicCommits" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 </AdapterKind>
 </AdapterKinds>

weblogic-webapp.xml

<?xml version="1.0" encoding="UTF-8"?>
 <AdapterKinds>
 <AdapterKind adapterKindKey="EP Ops Adapter">
 <ResourceKind resourceKindKey="Weblogic 10.3 Webapp">
 <Metric attrkey="AVAILABILITY|ResourceAvailability" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|CurrentActiveSessions" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|SessionsCreated" label="" unit="" yellow="" orange="" red=""/>
 <Metric attrkey="UTILIZATION|SessionsCreatedperMinute" label="" unit="" yellow="" orange="" red=""/>
 </ResourceKind>
 </AdapterKind>
 </AdapterKinds>

Once you got them imported, you’ll get the dashboards below. I’ve added some help on the dashboard image.

Weblogic Components Dashboard:

Weblogic Components Menu

Weblogic Overview

Hope you find it useful. Do reach out via Linkedin and Twitter. Thanks for reading!