Monitor Database and Calculate DB Response Time on WebLogic
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)
#start DB Ping
java -cp weblogic.jar utils.dbping ORACLE_THIN $YOUR_USER_NAME $YOUR_PASSWORD $YOUR_IP:$YOUR_PORT/$YOUR_SERVICE_NAME
expr $_endTime - $_startTime
Here is example of WLSDM usage. Yellow line is DB status, blue line is DB response time.
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: