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

book

Article ID: 32452

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

Question:  

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?

 

Answer:

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: https://communities.ca.com/docs/DOC-101379249

 

Additional Information: 

https://docs.oracle.com/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/runtime/ServerRuntimeMBean.html -- 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.

Environment

Release: CEMUGD00200-10.1-Introscope to CA Application-Performance Management-Upgrade Mai
Component: