Try OpenEdge Now
skip to main content
New Information
Progress Application Server for OpenEdge : Manage and monitor an instance : Use OEJMX to manage and monitor an instance : List available MBeans to locate AgentManager details
 
List available MBeans to locate AgentManager details
A running instance, created in 11.7.3 or higher must be available.
To monitor and manage an instance using OEJMX, it is helpful to have a complete list of available MBeans for an instance. Use the OEJMX utility with the -C parameter to generate a list of the available MBeans and related operations and attributes. By default the output is sent to PASOE Instance/temp/beanInfo-timestamp.txt. With a complete list of beans, administrators can write targeted queries and add those queries to larger automated script for monitoring performance and managing an instance. To list the available MBeans and locate AgentManager details, complete the following steps:
1. Start a PAS for OpenEdge instance created in 11.7.3 or higher.
2. Run oejmx -C to create a list of available beans.
Output is sent to the default location,/temp/beanInfo-timestamp.txt.
3. Open the output file and search for the AgentManager details.
The AgentManager bean shown, can be used to get agent information, status, and other metrics. For example, the stopAgent operations could be used to to stop an agent and terminateABLSession could be used to stop a particular session.
**************** PASOE:type=OEManager,name=AgentManager
Operation: getAgents(String appName) --> javax.management.openmbean.CompositeData
Operation: getAgentStatus(String id) --> javax.management.openmbean.CompositeData
Operation: getAgentMetrics(String id) --> javax.management.openmbean.CompositeData
Operation: getThreadMetrics(String id) --> javax.management.openmbean.CompositeData
Operation: getSessionMetrics(String id) --> javax.management.openmbean.CompositeData
Operation: getConnectionMetrics(String id) --> javax.management.openmbean.CompositeData
Operation: getRequestMetrics(String id) --> javax.management.openmbean.CompositeData
Operation: getAgentStacks(String id) --> javax.management.openmbean.CompositeData
Operation: getSessionStacks(String agentID, String sessionID) --> javax.management.openmbean.CompositeData
Operation: stopAgent(String agentID, Integer waitToFinish, Integer waitAfterStop) --> boolean
Operation: terminateABLSession(String agentID, Integer agentSessionID, Integer terminateOption) --> boolean
Operation: trackABLObjects(String agentID, Boolean switch) --> java.lang.Boolean
Operation: trackingABLObjects(String agentID) --> boolean
Note: Detailed information about available beans can be found by using JConsole. For more information, see the "JConsole and JMX" topic in Progress Application Server for OpenEdge: Administration Guide.
With a list of available beans, you can Write a custom OEJMX query to get agents .