Monitor Database and Calculate DB Response Time on WebLogic

WLSDM for WebLogic
Dec 11, 2020 · 1 min read

There is WLSDM DevOps MBean scripts to monitor WebLogic environments and trigger auto actions. Hope other users will use this topic and share their scripts and let us see what can be done for WebLogic automation.

Here is the first: (alsoa available on http://www.wlsdm.com/docs/README -> Transform all kind of scripts to JMX MBeans)

#Variables
_dbStatus=0
#0:DB_DOWN,1:DB_UP
#start DB Ping
_startTime=$(($(date +%s%N)/1000000))
_pingResult=
java -cp weblogic.jar utils.dbping ORACLE_THIN $YOUR_USER_NAME $YOUR_PASSWORD $YOUR_IP:$YOUR_PORT/$YOUR_SERVICE_NAME
_endTime=$(($(date +%s%N)/1000000))
_dbResponseTime=
expr $_endTime - $_startTime

Here is example of WLSDM usage. Yellow line is DB status, blue line is DB response time.

WLSDM Database Response Time & Database Status Dashboard

Installation is really easy and you can setup a complete monitoring infrastructure in less than 5 minutes. If you want to try then go to download page below URL:

WLSDM for WebLogic

Native Oracle WebLogic Monitoring WLSDM is developed by the best WebLogic developers for the best WebLogic administrators to support mission critical HA domains. Supports all plain WebLogic and Fusion Middleware (FMW) WebLogic domains. Download now! https://wlsdm.com/download

WLSDM for WebLogic

Written by

WLSDM for WebLogic

Native Oracle WebLogic Monitoring WLSDM is developed by the best WebLogic developers for the best WebLogic administrators to support mission critical HA domains. Supports all plain WebLogic and Fusion Middleware (FMW) WebLogic domains. Download now! https://wlsdm.com/download