How do I fetch and monitor the WebLogic Server server state in APM?

Document ID : KB000032452
Last Modified Date : 14/02/2018
Show Technical Document Details


We have APM (WebLogic Server) WLS pack installed but are not getting any alert when a WLS server failure occurs. This is seen in the WLS admin console with a typical status as "RUNNING". Can APM get this variable to monitor its state?



You can do this by exposing the ServerRuntimeMBean(getStateVal()) interface to JMX. STATE is returned as a string. Then use the fieldpack to convert this value to Integer. It is available on the APM Community:


Additional Information: -- More details on  ServerRuntimeMBean. This interface provides methods for retrieving runtime information about a server instance and for transitioning a server from one state to another.